lint
parent
e29e0c049e
commit
726c6ae5ac
|
@ -4,7 +4,7 @@ module Rating
|
||||||
class InstallGenerator < Rails::Generators::Base
|
class InstallGenerator < Rails::Generators::Base
|
||||||
source_root File.expand_path('../templates', __FILE__)
|
source_root File.expand_path('../templates', __FILE__)
|
||||||
|
|
||||||
desc 'creates Rating migration'
|
desc 'Creates Rating migration'
|
||||||
|
|
||||||
def create_migration
|
def create_migration
|
||||||
template 'db/migrate/create_rating_table.rb', "db/migrate/#{timestamp(0)}_create_rating_table.rb"
|
template 'db/migrate/create_rating_table.rb', "db/migrate/#{timestamp(0)}_create_rating_table.rb"
|
||||||
|
|
Loading…
Reference in New Issue