# File lib/generators/hobo/resource/resource_generator.rb, line 12 def generate_hobo_controller invoke 'hobo:controller', [name.pluralize], options end
# File lib/generators/hobo/resource/resource_generator.rb, line 16 def generate_hobo_model # is there any better way to pass attributes? attr = attributes.map{|a| "#{a.name}:#{a.type}"} invoke 'hobo:model', [name, attr], options end