rm: config via initializer was dropped

table name cannot be change after load
main
Washington Botelho 2018-02-14 14:44:14 -02:00
parent 1b05516762
commit ce7802072e
No known key found for this signature in database
GPG Key ID: 5DE4F42A8F073617
2 changed files with 0 additions and 9 deletions

View File

@ -4,12 +4,6 @@ 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 initializer'
def copy_initializer
copy_file 'config/initializers/rating.rb', 'config/initializers/rating.rb'
end
desc 'Creates Rating migration' desc 'Creates Rating migration'
def create_migration def create_migration

View File

@ -1,3 +0,0 @@
# Rating.configure do |config|
# config.models rate: '::Rating::Rate', rating: '::Rating::Rating'
# end