Displaying 1 result from an estimated 1 matches for "hc_citi".
Did you mean:
hc_city
2006 Mar 13
4
Trouble Using AR Object based on a Piggyback Query?
Hi,
I''m new to Rails and Ruby and can''t access methods/columns from an
ActiveRecord object that is a "piggy-back" row as described by David
here: http://www.loudthinking.com/arc/000235.html
Via Console I can create the piggyback object but reading attributes
gives "TypeError: cannot convert String into Integer" (this is in
Console and the browser).