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

The gem do not tackle ActiveRecord Finders #2

Open
yarmand opened this issue Feb 11, 2013 · 0 comments
Open

The gem do not tackle ActiveRecord Finders #2

yarmand opened this issue Feb 11, 2013 · 0 comments

Comments

@yarmand
Copy link
Owner

yarmand commented Feb 11, 2013

when you deprecate an attribute, you can still use finders on it.
example

class User
  deprecate_attribute :card_type
end

User.find_by_card_type(:silver)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant