Hi Timothy, your code is right. Here's the thing:

Inflector.classify is used to see how rails converts to table_name to Model
name. So you have to do this:

Inflector.classify "progresses"

Inflector.pluralize gives you the contrary.

If you want more information take a look at this:

http://api.rubyonrails.org/classes/ActiveSupport/Inflector.html#M000248

There you can see that actually your "progres" bug thing is documented right
there but with "busines".

Hope it helps.

On Thu, Sep 25, 2008 at 11:15 AM, Timothy Johnson <
[EMAIL PROTECTED]> wrote:

>
> Sure, there are other options out there to describe it. Would this be a
> consideration that the inflector is broken though?
>
>
>
>
>
> Jeff Cohen wrote:
> > Any chance you can use "progression" or "step" instead of "progress"?
> > Might be easier for the inflector to figure things out...?
> >
> > Jeff
>
> --
> Posted via http://www.ruby-forum.com/.
>
> >
>


-- 
ANDRES RODRIGUEZ E
Electronic Engineer
Software Developer
IT Consultant

US Phone: (305) 853-8356
Primary Mobile: +57-300-2006186
Secondary Mobile: +57-314-7939859

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to