[Rails]
Re: Execute code when an inheritance happens, or disabling S
Alex Wayne
rubyonrails at beautifulpixel.com
Wed Jul 26 16:54:40 GMT 2006
Kevin Olbrich wrote:
> On Wednesday, July 26, 2006, at 1:04 AM, Alex Wayne wrote:
>> end
>>Rails at lists.rubyonrails.org
>>http://lists.rubyonrails.org/mailman/listinfo/rails
>
> Do you have a 'type' column in your table? If so, that is probably
> confusing AR.
>
> _Kevin
> www.sciwerks.com
No type column at all, but without calling the fix_table_name method, it
errors because the its getting the table name from the parent class,
which does not have a table.
--
Posted via http://www.ruby-forum.com/.
More information about the Rails
mailing list