Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AS::Callbacks: rip out per_key option. #4877

Merged
merged 1 commit into from
Feb 4, 2012
Merged

AS::Callbacks: rip out per_key option. #4877

merged 1 commit into from
Feb 4, 2012

Conversation

bogdan
Copy link
Contributor

@bogdan bogdan commented Feb 4, 2012

This commit drops the support of :per_key option as it's "for perfomance" role is no longer makes sense.

All tests with :per_key option was converted into general :if and :unless to make sure we migrate smoothly.
If someone is using :per_key option outside of rails - he will receive this message:

raise NotImplementedError, ":per_key option is no longer supported. Use generic :if and :unless options instead."

josevalim pushed a commit that referenced this pull request Feb 4, 2012
AS::Callbacks: rip out per_key option.
@josevalim josevalim merged commit ef32b59 into rails:master Feb 4, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants