So… only global monkey patching? Sequel has no possibility like 
`Sequel::Inflections.underscore_method = SomeLib.method(:underscore)` (for 
example)? OK, thanks…

On Wednesday, November 7, 2018 at 6:16:47 PM UTC+3, Jeremy Evans wrote:
>
> On Wednesday, November 7, 2018 at 6:54:19 AM UTC-8, Alexander Popov wrote:
>>
>> Thanks!
>>  
>>
>>> so if you want this support, you probably should just use a different 
>>> inflector
>>>
>>
>> OK, how to do it? 
>>
>
> If you want to use ActiveSupport's inflector:
>
> require 'active_support/core_ext/string/inflections'
> ActiveSupport::Inflector.inflections(:en) do |inflect|
>   inflect.acronym 'UTM'
>   inflect.acronym 'HTTP'
> end
>
> Thanks,
> Jeremy
>

-- 
You received this message because you are subscribed to the Google Groups 
"sequel-talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sequel-talk.
For more options, visit https://groups.google.com/d/optout.

Reply via email to