From: Timothy Gregory Date: 2013-02-22T11:23:33+09:00 Subject: Re: Adding camelize and underscore to String --20cf3074b3b49c59f004d646e02b Content-Type: text/plain; charset=ISO-8859-1 thanks Josh active_support_inflections looks epic like inbuilt attributes for ruby instance methods On Thu, Feb 21, 2013 at 2:22 AM, Rob Marshall wrote: > Timothy G. wrote in post #1097937: > > hi > > may i ask > > is it the ruby method? > > active_support > > inflections > > camelize > > "allows you to specify acronyms in config/initializers/inflections.rb" > > timo > > > And, yes, inflections.rb allows you to specify acronyms. Although it > probably doesn't care if it's a real "acronym" or just something that > you want capitalized in a specific way. One example in the code is: > McDonald...a name, not an acronym. :-) > > -- > Posted via http://www.ruby-forum.com/. > > --20cf3074b3b49c59f004d646e02b Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
thanks Josh
active_support_inflections looks epic =
like inbuilt attributes for ruby instance methods


On Thu, Feb 21, 20= 13 at 2:22 AM, Rob Marshall <lists@ruby-forum.com> wrote:=
Timothy G. wrote in post #1097937:
> hi
> may i ask
> is it the ruby method?
> active_support
> inflections
> camelize
> "allows you to specify acronyms in config/initializers/inflection= s.rb"
> timo


And, yes, inflections.rb allows you to specify acronyms. Although it<= br> probably doesn't care if it's a real "acronym" or just so= mething that
you want capitalized in a specific way. One example in the code is:
McDonald...a name, not an acronym. :-)

--20cf3074b3b49c59f004d646e02b--