2016年1月31日

rails使用bootstrap

摘要: 在Gemfile文件中添加'bootstrap-sass',再运行bundle install gem 'bootstrap-sass' 在config/application.rb添加一行代码,让bootstrap-sass和asset pipeline兼容 class Application < 阅读全文

posted @ 2016-01-31 19:51 jec 阅读(479) 评论(0) 推荐(0) 编辑

rspec测试(使用guard自动测试和spork加速测试)配置

摘要: Gemfile文件添加rspec、guard和spork,之后执行bundle install命令 gem 'rb-readline' group :development, :test do # Call 'byebug' anywhere in the code to stop executio 阅读全文

posted @ 2016-01-31 19:27 jec 阅读(579) 评论(0) 推荐(0) 编辑

导航