class SimpleDataMigrations::InstallGenerator
Public Instance Methods
create_migration_file()
click to toggle source
# File lib/generators/simple_data_migrations/install_generator.rb, line 12 def create_migration_file migration_template "install.rb.erb", "db/migrate/create_simple_data_migrations_table.rb" end
Private Instance Methods
migration_version()
click to toggle source
# File lib/generators/simple_data_migrations/install_generator.rb, line 18 def migration_version "[#{ActiveRecord::VERSION::STRING.to_f}]" end