diff options
Diffstat (limited to 'railties/lib/generators/active_record')
-rw-r--r-- | railties/lib/generators/active_record/migration/migration_generator.rb | 2 | ||||
-rw-r--r-- | railties/lib/generators/active_record/model/model_generator.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/railties/lib/generators/active_record/migration/migration_generator.rb b/railties/lib/generators/active_record/migration/migration_generator.rb index baf9650790..95cc34ba42 100644 --- a/railties/lib/generators/active_record/migration/migration_generator.rb +++ b/railties/lib/generators/active_record/migration/migration_generator.rb @@ -3,7 +3,7 @@ require 'generators/active_record' module ActiveRecord module Generators class MigrationGenerator < Base - argument :attributes, :type => :hash, :default => {}, :banner => "field:type, field:type" + argument :attributes, :type => :hash, :default => {}, :banner => "field:type field:type" def create_migration_file set_local_assigns! diff --git a/railties/lib/generators/active_record/model/model_generator.rb b/railties/lib/generators/active_record/model/model_generator.rb index 32a2ed15e4..59310f6c61 100644 --- a/railties/lib/generators/active_record/model/model_generator.rb +++ b/railties/lib/generators/active_record/model/model_generator.rb @@ -3,7 +3,7 @@ require 'generators/active_record' module ActiveRecord module Generators class ModelGenerator < Base - argument :attributes, :type => :hash, :default => {}, :banner => "field:type, field:type" + argument :attributes, :type => :hash, :default => {}, :banner => "field:type field:type" check_class_collision |