Friday, July 20, 2012

Re: [Rails] Re: Rails' inflections are messy

Yep, the point I've been getting at. People shouldn't blindly upgrade their Rails versions anyway, and when they see errors that a Controller can't be found based on their Model name or vice versa, it should be pretty obvious as to what's going on unless they're clueless about the inflector.

On Thursday, July 19, 2012 1:01:29 PM UTC-7, pavling wrote:
On 19 July 2012 20:48, Colin Law <clanlaw@googlemail.com> wrote:
> On 19 July 2012 20:07, Linus Pettersson <linus.pettersson@gmail.com> wrote:
>> At least they should fix the ones that are incorrect...
>>
>> "Octopus".pluralize should return "Octopuses" and NOT "Octopi"... :)
>
> But then all those applications that rely on the current pluralisation
> of octopus would break when upgraded.  Innumerable applications around
> the internet would come to their knees.

:-)

Surely all those sites' developers could just override the inflector
back to what it used to be, and get on with all the other tasks they
need to complete to upgrade to Rails4?

--
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 rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/mkakMOYN9goJ.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate