> Why must I do something like: all_attributes & attributes[:tag] ?
Why would you do that? > Is there an easy way to filter these attributes, such as: > all_attributes & [:a, :b] to only get the attributes with values for a > and b? Yes - that syntax works. You can also do all_attributes.only(:a, :b). Tom --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Hobo Users" 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/hobousers?hl=en -~----------~----~----~----~------~----~------~--~---
