Displaying 1 result from an estimated 1 matches for "tf1957326".
2006 Jul 17
6
DRY? Converting Boolean to Yes/No
..."No"
end
end
But this breaks other uses. For example observe_field constructs the
observers based on the to_s conversion of boolean attributes.
Any ideas on how to DRY this usage up?
Thanks
--
View this message in context: http://www.nabble.com/DRY--Converting-Boolean-to-Yes-No-tf1957326.html#a5368812
Sent from the RubyOnRails Users forum at Nabble.com.