Forum: Ruby on Rails Singular Table name

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
65d5822c31ba70aa39b72352a61d90bf?d=identicon&s=25 Sushrut Sathe (sushrut)
on 2009-04-03 16:14
I am using oracle,
& the table name is in singular (for ex. test)type then how i use that
table in my application without changing the table name.
i.e. I have to use that table name (test) as it is.
A91bd6cef23eb3516245a092e196c4da?d=identicon&s=25 Maurício Linhares (mauricio)
on 2009-04-03 16:17
(Received via mailing list)
class YourModel < ActiveRecord::Base

   set_table_name 'test'


Try reading the docs ->

Maurício Linhares (pt-br) |

On Fri, Apr 3, 2009 at 11:14 AM, Sushrut Sathe
This topic is locked and can not be replied to.