Displaying 1 result from an estimated 1 matches for "quantity_ordered".
2007 Oct 16
2
Where override model attribute names?
OK, so I get that ActiveRecord determines model attributes through  
reflection of the table schema. Handy for many cases, but not mine.
I need to override that and provide my own mapping of attribute names  
to column names to use the mapped names throughout the application code.
I''ve been poking around looking for where in AR''s hierarchy I can can  
inject this mapping, but