Go to your
console.rb
location/lib/rails/console.rb
Look for
ActiveRecord::Base.connection.instance_variable_set
Change it to following
ActiveRecord::Base.connection.instance_variable_set :@logger, Logger.new(STDOUT)
Go to your console.rb
location /lib/rails/console.rb
Look for ActiveRecord::Base.connection.instance_variable_set
Change it to following
ActiveRecord::Base.connection.instance_variable_set :@logger, Logger.new(STDOUT)