Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Insert a deprecation warn notice when using AS::DeprecatedCallbacks.
We are still using DeprecatedCallbacks in AS and AR. This is meant to annoy the shit out of Rails core until we fix it.
- Loading branch information
eff61fc
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Creating a project and attempting to generate a scaffold results in:
.../activesupport/lib/active_support/deprecation/behaviors.rb:27: private method `warn' called for nil:NilClass (NoMethodError)
More details here: http://intertwingly.net/projects/AWDwR3/checkdepot.html#section-6.2
eff61fc
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Suggestion:
http://pastie.org/652872
eff61fc
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
http://github.com/rails/rails/commit/9cd50e7752650a3d6bf8545b51d50619d6e70c0b