search for: other_data

Displaying 3 results from an estimated 3 matches for "other_data".

2009 Feb 01
1
activerecord access raw serialized data
Hi, I have a model with a serialized field ''other_data''. How can I add raw YAML data to that field? If i try: model[other_data] = yaml_formatted_data yaml_formatted_data gets YAML formatted again. -- cheers, M. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups &qu...
2005 May 13
17
modeling...
I''ve tried tackling this many ways on my own and can''t find a good solution: Breaking it down to something simplier... Venue has one address Person has one address Address belongs to state Assuming I don''t want to do tables for venue_addresses and person_addresses. What is the best way to model this using rails... big thing here is i want to be able to reuse a
2006 Jun 21
5
model with not te be updated attributes ?
Hi List, I have a table that contains several fields that must be initialized when first created, but may not be altered afterwards (when updating the other fields) because they can be changed by external processes. I noticed that the ActiveRecord update commands (even update_attribute) only seem to work by loading the complete record, changing fields that need to be changed and doing a full