On Jan 19, 2011, at 6:13 PM, Domizio Demichelis wrote: > Ronny, > actually that haven't been modified, they are still in > "<table_name>.states.<state>" as they were. > > Anyway we should move that in the activerecord namespace... > > "activerecord.attributes.<model>.state" is used for the regular naming of the > 'state' field, so what about > "activerecord.attributes.<model>.states.<state>"? > > It looks too similar to the attribute name, so what about > "activerecord.attributes.<model>.state_labels.<state>"?
activerecord.attributes.<model>.lifecycle.<state> might be better; it's guaranteed to not collide with any field names on a hobo_model (since if you *do* create a field named 'lifecycle', Very Bad Things happen). --Matt Jones -- 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.
