So I've been running Sequel with Sinatra for a while now and
everything was good. Then I tried to use a gem for Amazon SES. This
gem, `aws-ses`, has ActiveSupport as a dependency for a bunch of
stuff. Along with ActiveSupport comes, of course, `pluralize` and
`singularize`.

The problem is that as soon as I include this gem in my Gemfile,
Sequel suddenly forgets how to pluralize my model names to get the
requisite table name. So every request will now return:

Sequel::DatabaseError at /events/codeconf
SQLite3::SQLException: no such table: event

When my model name is `Event` and the table name is `events`.  As soon
as I comment out the aws-ses gem everything goes back to normal. If I
comment out ActiveSupport's `pluralize` and `singularize` everything
works well together, although obviously this isn't ideal. Strangely
enough, commenting out Sequel's `pluralize` and `singularize` doesn't
help.

Any advice? Can we just make ActiveSupport a dependency of Sequel, or
will that cause a bunch of problems elsewhere?

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