Closed tbartynski closed 7 years ago
Another element which can be easily fixed:
DEPRECATION WARNING: ActiveRecord::Base.raise_in_transactional_callbacks= is deprecated, has no effect and will be removed without replacement. (called from <top (required)> at /home/marek/git/atmosphere/spec/dummy/config/environment.rb:5)
It is defined in config/application.rb
This is strange:
λ leeloo dummy → λ git 296_upgrade_to_rails_5* → rails s
=> Booting WEBrick
=> Rails 5.0.0.1 application starting in development on http://localhost:3000
=> Run `rails server -h` for more startup options
As far as I know webrick was changed into puma in rails 5. Why it is started here?
See https://devcenter.heroku.com/articles/getting-started-with-rails5#webserver I've tried that and after adding puma to gemspec Webrick is not used any more.
Migration should be also changed a bit: