Forum: Ruby on Rails Clarifying dynamic find_by_attribute deprecations

Posted by Brendon Murphy (Guest)
on 2013-01-28 12:44
(Received via mailing list)
I've seen a number of blog posts claiming all dynamic find_by_attribute
methods are deprecated come Rails4 (with extraction to a gem).  However,
the Rails release notes specify that some of the API remains:
http://edgeguides.rubyonrails.org/4_0_release_note...

There was initial confusion in this pull request over what all was
deprecated:
https://github.com/rails/rails/pull/8989

The comments there seem to indicate 
find_by_attribute_and_other_attribute
will be deprecated but find_by_attribute is not;  the Rails release note
doesn't seem to go that far.

I think it's worth getting clarity on this, and then maybe I (or 
somebody)
can make it more explicit in the notes if need be.
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.