On Nov 16, 5:03 am, Tom Wardrop <[email protected]> wrote:
> One thing that drives me nuts with a lot of Ruby libraries and
> frameworks is pluralization, it's a good example of probably the one
> thing about the Ruby community that annoys me the most, and that's the
> tendency to sacrifice function/practicality in favor of prettiness. If
> I want my class name to differ from my table name, that should have to
> be explicit, not implied in my opinion. Additionally, a lot of
> programmers prefer to refer to tables based on the objects they store,
> rather than as a collection. Anyway, opinions aside, is there anyway I
> can turn inflections off in Sequel, so model Person automatically maps
> to table Person, rather than table People?

  Sequel::Inflections.clear

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.

Reply via email to