I also agree with that, I want to make my point cleaner. English is
not my mother language (if you don't figure it out yet), and
programming in Rails is often a pleasure, but if you want to program
in Spanish for example, the pluralization don't work. For example the
plural of Ciudad (City) is Ciudades, but is pluralized as Ciudads
(awful). I asume that the question was for one problem like this, i
don't "support" not follow the conventions either.

Regards.

Franco Catena.

On Jul 20, 2:55 pm, Rick DeNatale <[email protected]> wrote:
> On Sat, Jul 18, 2009 at 3:24 AM, harun<[email protected]> wrote:
>
> > Hi,
>
> > First, I am new at Ruby on Rails. When using scaffolding feature,
> > rails pluralize some automatically generated files' names, like
> > controller names, view names and helper names. What I want is to
> > disable this pluralization. For example, I want the contoller name of
> > model 'Post' to be 'post_controller.rb' instead of
> > 'posts_controller.rb'.
>
> If you want to gain any proficiency with Rails, I'd urge you to resist
> the instinct to do things like this, and go with the flow.
>
> A lot of Rails is following the frameworks conventions, and
> pluralization is one of those.  If you do you'll find things much
> easier in the long run.
>
> If you don't you'll find yourself working much too hard in the long run.
>
> --
> Rick DeNatale
>
> Blog:http://talklikeaduck.denhaven2.com/
> Twitter:http://twitter.com/RickDeNatale
> WWR:http://www.workingwithrails.com/person/9021-rick-denatale
> LinkedIn:http://www.linkedin.com/in/rickdenatale
--~--~---------~--~----~------------~-------~--~----~
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