diff options
author | José Valim <jose.valim@gmail.com> | 2009-06-28 18:28:30 +0200 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2009-06-28 18:28:30 +0200 |
commit | 9068bc05b8c5a1f2a0ad6959cb897d5831046d0a (patch) | |
tree | 41352d328dce4cc777dd668377a6c2af7fc824ad /railties/lib/generators/rails/model | |
parent | a2d4d755ae1b69455e515ad8a4fa363ccee8a790 (diff) | |
download | rails-9068bc05b8c5a1f2a0ad6959cb897d5831046d0a.tar.gz rails-9068bc05b8c5a1f2a0ad6959cb897d5831046d0a.tar.bz2 rails-9068bc05b8c5a1f2a0ad6959cb897d5831046d0a.zip |
Added ResourceGenerator.
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 58c274c4d3..36354c5638 100644 --- a/railties/lib/generators/rails/model/model_generator.rb +++ b/railties/lib/generators/rails/model/model_generator.rb @@ -1,7 +1,7 @@ module Rails module Generators class ModelGenerator < NamedBase - argument :attributes, :type => :hash, :default => {}, :banner => "field:type, field:type" + argument :attributes, :type => :hash, :default => {}, :banner => "field:type field:type" hook_for :orm, :test_framework end end |