get rid of scaffold pluralization

Discussion in 'Ruby' started by Dave Mr., Jan 12, 2007.

  1. Dave Mr.

    Dave Mr. Guest

    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/.
     
    Dave Mr., Jan 12, 2007
    #1
    1. Advertising

  2. Dave Mr.

    Greg Donald Guest

    On 1/12/07, Dave Mr. <> 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/
     
    Greg Donald, Jan 12, 2007
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. kaspar minosiants

    Struts & Scaffold question

    kaspar minosiants, Feb 6, 2004, in forum: Java
    Replies:
    0
    Views:
    390
    kaspar minosiants
    Feb 6, 2004
  2. na
    Replies:
    4
    Views:
    193
  3. Ray Tayek
    Replies:
    1
    Views:
    109
    Ray Tayek
    Jun 6, 2006
  4. Daniel

    Scaffold:

    Daniel, Jun 19, 2006, in forum: Ruby
    Replies:
    3
    Views:
    103
    Daniel
    Jun 20, 2006
  5. Paul Johnston

    Newbie help with scaffold generator

    Paul Johnston, Aug 21, 2006, in forum: Ruby
    Replies:
    2
    Views:
    100
    Paul Johnston
    Aug 21, 2006
Loading...

Share This Page