[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

get rid of scaffold pluralization

Dave Mr.

1/12/2007 6:41:00 PM

I'm new to RoR and I was wondering how I can stop RoR from requiring
plural table names for controllers/models...it's really annoying! Thanks
for any/all input guys.

--
Posted via http://www.ruby-....

1 Answer

Greg Donald

1/12/2007 7:15:00 PM

0

On 1/12/07, Dave Mr. <4m@davidhulihan.com> wrote:
> I'm new to RoR and I was wondering how I can stop RoR from requiring
> plural table names for controllers/models...it's really annoying! Thanks
> for any/all input guys.

config.active_record.pluralize_table_names = false

Might be better to ask Rails-specific question on the Rails list:

http://groups.google.com/group/rubyonrails-...


--
Greg Donald
http://des...