custom inflections ignored

2017-12-12 Thread Martin Stein
Hi, I am a newbie having an issue where Sequel is ignoring my custom inflections example: Sequel.inflections do |inflect| inflect.uncountable 'multimedia' end when I list the uncountables, I see that 'multimedia' has been added: Sequel.inflections.uncountables => ["equipment",

Re: RSpec ignoring Sequel inflections

2018-05-14 Thread Martin Stein
ActiveSupport gets loaded, it overwrites the inflection methods added to String by Sequel. Not sure yet what the best thing to do will be (maybe change the require order), but at least I located the error. Apologies to Sequel and RSpec! Martin On Monday, May 14, 2018 at 1:08:14 PM UTC+2, Martin

RSpec ignoring Sequel inflections

2018-05-14 Thread Martin Stein
Hi, this may be an RSpec issue rather than a Sequel issue, but still: I have a few custom inflections defined (irregulars, uncountables, plurals, singulars). Those inflections work as expected, except when used from within an RSpec expectation, where they are being ignored. The inflections