Em 31-05-2012 11:30, Rafael Mendonça França escreveu:
Actually the query attribute method does more than check if the value
is present. It is very useful for legacy databases where the user
persist boolean values as [0, 1], ["t", "f"], ["true", "false"] and more.
I don't see this being removed from rails or changing your behavior.
I agree with you on that
Also removing it will not decrease the methods count because we still
need to generate it for booleans.
It would decrease because they would *only* be generated for boolean fields.
--
You received this message because you are subscribed to the Google Groups "Ruby on
Rails: Core" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/rubyonrails-core?hl=en.