Displaying 1 result from an estimated 1 matches for "old_resourc".
Did you mean:
old_resource
2006 Apr 17
4
Is "target" a reserved word?
...t''s add a ''target net revenue''
property."
So, the resource model got a "target" column. The override model got a
"new_target" column.
But, whenever I set resource.target, I don''t get a resource at the end; I
get target. In other words:
old_resource = resource.clone
resource.target = new_target
resource == old_resource # false
resource == new_target # true
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060417/332a516d/attachment.html