Thanks Jeremy for good suggestions, it's mail gem indeed, this kind of bugs always drives me to drink ;) I incremented counter on lighthouse for this bug.
On Thursday, March 10, 2011 1:52:45 AM UTC+3, Jeremy Evans wrote: > > On Mar 9, 2:07 am, Serg Podtynnyi <[email protected]> wrote: > > Update: > > I put sql logger and got this: > > > > in development: > > SELECT TOP (1) COUNT(*) AS [COUNT] FROM [USER_NEWSLETTERS] WHERE > ([DISABLED] > > = 0) > > > > in production: > > SELECT TOP (1) COUNT(*) AS [COUNT] FROM [USER_NEWSLETTER] WHERE > ([DISABLED] > > = 0) > > > > So pluralization does not work in production. > > My guess is you are loading something in production that you aren't > loading in development that loads the active_support inflector without > the default active_support inflections. This is a bug in > active_support, it's been filed upstream (https:// > rails.lighthouseapp.com/projects/8994-ruby-on-rails/tickets/6460). I > think you can work around it by dropping down to Rails/active_support > 3.0.3, or by requiring 'active_support/inflections' manually in 3.0.4 > and 3.0.5. > > I think Rails' approach to bugs is to ignore them until they get > enough +1s, so if you want the bug fixed, you may want to add your +1 > to that ticket. > > Jeremy -- You received this message because you are subscribed to the Google Groups "sequel-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/sequel-talk?hl=en.
