1 2 3 4 5 6 7 8
module Rails module Generators class MigrationGenerator < NamedBase #metagenerator argument :attributes, :type => :array, :default => [], :banner => "field[:type][:index] field[:type][:index]" hook_for :orm, :required => true end end end