Ruby on Rails Friday, December 8, 2017

I have tinkered with the problem. When I do add the config in config.after_initialize block it works.

    config.after_initialize do        ActiveSupport.halt_callback_chains_on_return_false = false      end  

But it still doesn't work if I put it in an initializer file. Problem solved for me though.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/e53fb377-ee07-4f0e-abd3-b362294c11f7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment