Permalink
Browse files

Merge pull request #11093 from nolman/restoring-scaffold-generation

restore correct scaffold generation
  • Loading branch information...
2 parents 0c850f8 + e17ddc2 commit 7eaf90a7ab6b02d5946857fdee7271a0a3b640d2 @rafaelfranca rafaelfranca committed Jun 25, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 railties/lib/rails/generators/active_model.rb
@@ -34,7 +34,7 @@ def initialize(name)
# GET index
def self.all(klass)
- "#{klass}.scoped.to_a"
+ "#{klass}.all"
end
# GET show

0 comments on commit 7eaf90a

Please sign in to comment.