Undefined method raise_in_transactional_callbacks=’ for ActiveRecord::Base:Class (NoMethodError)

Your config/application.rb has the following line:

config.active_record.raise_in_transactional_callbacks = true

This is not a valid configuration value in your version of Rails. You will need to delete it or comment it out to continue.


Note: this error and the one that preceded it are indicative of an incomplete Rails version change. If you are in the early stages of a tutorial, you might seriously consider restarting your application using your preferred version of Rails from the very start. This will help you avoid this type of error until you are more familiar with the technology.

Leave a Comment