Update rails to 4.0:

* Add protected_attributes gem dependency;
* Remove deprecated usages of AR .find method;
This commit is contained in:
Thibault Jouan
2014-04-01 03:26:12 +00:00
parent bd39be32c5
commit aa2b43ab42
22 changed files with 138 additions and 141 deletions

View File

@@ -1,11 +1,13 @@
source 'http://rubygems.org'
gem 'rails', '~> 3.1'
gem 'rails', '~> 4.0'
gem 'pg', '~> 0.17'
gem 'haml', '~> 4.0'
gem 'bcrypt', '~> 3.0'
gem 'rabl', '~> 0.6'
gem 'protected_attributes', '~> 1.0'
group :development, :test do
gem 'rspec-rails', '~> 2.6'
gem 'capybara', '~> 2.2'