diff options
author | José Valim <jose.valim@gmail.com> | 2009-06-27 14:27:26 +0200 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2009-06-27 21:30:00 +0200 |
commit | 1a15dd4de577d77f37bc39a1ca59f871aa9a395b (patch) | |
tree | 6f2e97e43a698bed000003b0a236ae2f750c714e /railties/lib/generators/rails/model | |
parent | acaeaf308a071d9892f8d555be0697c45558ef4c (diff) | |
download | rails-1a15dd4de577d77f37bc39a1ca59f871aa9a395b.tar.gz rails-1a15dd4de577d77f37bc39a1ca59f871aa9a395b.tar.bz2 rails-1a15dd4de577d77f37bc39a1ca59f871aa9a395b.zip |
Rename invoke_for to hook_for.
Diffstat (limited to 'railties/lib/generators/rails/model')
-rw-r--r-- | railties/lib/generators/rails/model/model_generator.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/generators/rails/model/model_generator.rb b/railties/lib/generators/rails/model/model_generator.rb index 7a732bfd0d..58c274c4d3 100644 --- a/railties/lib/generators/rails/model/model_generator.rb +++ b/railties/lib/generators/rails/model/model_generator.rb @@ -2,7 +2,7 @@ module Rails module Generators class ModelGenerator < NamedBase argument :attributes, :type => :hash, :default => {}, :banner => "field:type, field:type" - invoke_for :orm, :test_framework + hook_for :orm, :test_framework end end end |