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