class ActiveRecord::Generators::GmapsGenerator
Public Instance Methods
copy_gmaps_migration()
click to toggle source
# File lib/generators/active_record/gmaps_generator.rb, line 9 def copy_gmaps_migration migration_template "migration.rb", "db/migrate/gmaps_add_columns_to_#{table_name}.rb" end