Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
before_save doesn't work? #191
class Derp include NoBrainer::Document include NoBrainer::Document::Timestamps before_save :nuclear_strike_detected end
is equally disappointing, in that nothing happens.
I just restarted Spring and I'm seeing the same thing.
I'm on Rails 5.0 beta2 (
This repo reproduces my error: https://github.com/radicaled/nobrainer_error
The first commit is bog-standard Rails 5.0 generation, the second commit -- radicaled/nobrainer_error@4d03763 -- is the code I've added.
The issue was introduced with the new callback behavior: http://edgeguides.rubyonrails.org/upgrading_ruby_on_rails.html#halting-callback-chains-via-throw-abort