aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/generators/rails/model/model_generator.rb
blob: 629d5eed3f6f495639fb3b8b4e2e8bc7d036fcd7 (plain) (blame)
1
2
3
4
5
6
7
8
module Rails
  module Generators
    class ModelGenerator < NamedBase #metagenerator
      argument :attributes, :type => :array, :default => [], :banner => "field:type field:type"
      hook_for :orm, :required => true
    end
  end
end