Spotted this myself today. In my case the offending gem was the 'mail' gem using ActiveSupport. My model classes suddenly weren't getting pluralized and couldn't find the tables!

However, I consider this as a bug in ActiveSupport. Version 3.0.3 of ActiveSupport works just fine, you don't have to explicitly import anything else. Version 3.0.4 onwards has changed behaviour quite unexpectedly. Lots of things use ActiveSupport and I suspect a few people are going to get caught out by it.

Cheers,
Gary.

On 24/02/2011 8:07 PM, Guillaume Laville wrote:
Seems related to the issue I encountered some day ago,
due to a third-party library using AS without importing the
defaults inflections :

https://code.google.com/p/ruby-sequel/issues/detail?id=329

The bug report contains the description of the problem,
as well as another fix (requiring 'active_support/inflector' yourself).

Does it help ?
--
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.

--
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.

Reply via email to