diff options
author | José Valim <jose.valim@gmail.com> | 2009-07-13 15:08:45 +0200 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2009-07-13 15:08:45 +0200 |
commit | ae7a7852d56bd99304affa220dd4d91a2fff16a7 (patch) | |
tree | 776f5523669f4d6d55a3155473f0007ebc3ec7e2 /railties/lib/generators/action_orm.rb | |
parent | d5225c1fd50a672d57ee30d3b107c2596318b02f (diff) | |
download | rails-ae7a7852d56bd99304affa220dd4d91a2fff16a7.tar.gz rails-ae7a7852d56bd99304affa220dd4d91a2fff16a7.tar.bz2 rails-ae7a7852d56bd99304affa220dd4d91a2fff16a7.zip |
Always allow params to be skipped on action orm in generators.
Diffstat (limited to 'railties/lib/generators/action_orm.rb')
-rw-r--r-- | railties/lib/generators/action_orm.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/generators/action_orm.rb b/railties/lib/generators/action_orm.rb index 3b0fee7206..69cf227fd7 100644 --- a/railties/lib/generators/action_orm.rb +++ b/railties/lib/generators/action_orm.rb @@ -39,7 +39,7 @@ module Rails # GET edit # PUT update # DELETE destroy - def self.find(klass, params) + def self.find(klass, params=nil) raise NotImplementedError end |