Paul Mckibbin wrote:
> Alpha Blue wrote:
>> Frederick Cheung wrote:
>>> On Jan 26, 5:51�pm, Paul Mckibbin <[email protected]> wrote:
>> class MyPage < InheritanceTemplate
>>   set_table_name "my_pages" #pluralized table name
>> end
>> 
>> etc.
>> 
>> Notice in the classes that are using the inheritance template you should 
>> also set the table name so that there's no confusion going on in the 
>> templates.
> 
> I was doing that in the models that I had inherited, but if there isn't 
> a way to do it without setting the table name then I don't see the 
> benefit.

As Fred said, setting the table name is probably unnecessary.

> 
> Paul

Best,
--
Marnen Laibow-Koser
http://www.marnen.org
[email protected]
-- 
Posted via http://www.ruby-forum.com/.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to