class AwsRecord::Generators::ModelGenerator
def create_model
def create_model template "model.rb", File.join("app/models", class_path, "#{file_name}.rb") end
def create_table_config
def create_table_config template "table_config.rb", File.join("db/table_config", class_path, "#{file_name}_config.rb") if options["table_config"] end
def initialize(args, *options)
def initialize(args, *options) self.class.source_root File.expand_path('../templates', __FILE__) super end