Rails 5 does not halt callback chain when false is returned
Rails 5 does not halt callback chain when false is returned.
From now on preferred method to halt chain is to use throw(:abort)
.
More Details here
Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!
Rails 5 does not halt callback chain when false is returned.
From now on preferred method to halt chain is to use throw(:abort)
.
More Details here
Post a comment