Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Ruby > get rid of scaffold pluralization

Reply
Thread Tools

get rid of scaffold pluralization

 
 
Dave Mr.
Guest
Posts: n/a
 
      01-12-2007
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-forum.com/.

 
Reply With Quote
 
 
 
 
Greg Donald
Guest
Posts: n/a
 
      01-12-2007
On 1/12/07, Dave Mr. <(E-Mail Removed)> 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-talk?hl=en


--
Greg Donald
http://destiney.com/

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Newbie help with scaffold generator Paul Johnston Ruby 2 08-21-2006 10:51 AM
Scaffold: Daniel Ruby 3 06-20-2006 06:18 AM
iteration A1 in ebook: scaffold gets: routing error Ray Tayek Ruby 1 06-06-2006 04:07 PM
N00b request help with scaffold- undefined method 'body=' error na Ruby 4 02-26-2006 05:41 PM
Struts & Scaffold question kaspar minosiants Java 0 02-06-2004 05:31 PM



Advertisments