diff options
author | Nolan Evans <nolane@gmail.com> | 2013-06-25 10:32:58 -0700 |
---|---|---|
committer | Nolan Evans <nolane@gmail.com> | 2013-06-25 10:32:58 -0700 |
commit | e17ddc255d5d3d2d1032e0f42c627023769ad5ee (patch) | |
tree | 483de52a1cd68215943a1f790cb6995707386b77 /railties | |
parent | 0c850f8dab8c23abc3f8675fd2b82af20101c3c4 (diff) | |
download | rails-e17ddc255d5d3d2d1032e0f42c627023769ad5ee.tar.gz rails-e17ddc255d5d3d2d1032e0f42c627023769ad5ee.tar.bz2 rails-e17ddc255d5d3d2d1032e0f42c627023769ad5ee.zip |
restore correct scaffold generation
Diffstat (limited to 'railties')
-rw-r--r-- | railties/lib/rails/generators/active_model.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/rails/generators/active_model.rb b/railties/lib/rails/generators/active_model.rb index 9f8a7aa416..e5373704d7 100644 --- a/railties/lib/rails/generators/active_model.rb +++ b/railties/lib/rails/generators/active_model.rb @@ -34,7 +34,7 @@ module Rails # GET index def self.all(klass) - "#{klass}.scoped.to_a" + "#{klass}.all" end # GET show |