Pluralization for 'EventSeries' turns into table name 'event

hello everyone,

while generating the model EventSeries, my migration was generated with
the database table name ‘event_sery’. i double checked the
pluralization tool located at: http://nubyonrails.com/tools/pluralize.
I was wondering if anyone has ever come across an issue similar to this
one. should i just override the table my model is associated with and
change the generated table name to ‘event_series’?

thank you, for your input.

On 1/13/07, Thomas M. [email protected] wrote:

thank you, for your input.
Make that word uncountable in your environment.rb. I used to have a
model named Series, and for a time it worked okay. Then, I tried to
add resource routes and all hell broke loose.


Rick O.
http://weblog.techno-weenie.net
http://mephistoblog.com

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs