Forum: Ruby on Rails connecting model to singular named table

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
84161f131a41bf1b730a7a4fbfd9068d?d=identicon&s=25 vaibhav (Guest)
on 2009-04-02 13:58
(Received via mailing list)
Dear group,

I have th problem while accessing the allready created tables in
oracle. sence the rails convension is to call the plural named tables
as the model name but, my tables are allready crated with no plural
name. so, what can i do to make the connection. i dont want to make
the dumy tables nemed them plural.
359b7a7fc263382baee62d91c1e4c25e?d=identicon&s=25 Emanuele Tozzato (mekdigital)
on 2009-04-02 14:15
(Received via mailing list)
In model

set_table_name 'name'

iPhonized!

On Apr 2, 2009, at 4:10 AM, vaibhav <vaibhavd.consistent@gmail.com>
This topic is locked and can not be replied to.