main
Washington Botelho 2018-02-08 19:50:11 -02:00
parent e29e0c049e
commit 726c6ae5ac
No known key found for this signature in database
GPG Key ID: 5DE4F42A8F073617
1 changed files with 1 additions and 1 deletions

View File

@ -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"