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...
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
get rid of scaffold pluralization
Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te
Il servizio è completamente GRATUITO!
x
Login to ForumsZone
Login with Google
Login with E-Mail & Password