On Sep 30, 2:54 am, Simon Arnaud <[email protected]> wrote:
> 2009/9/30 Simon Arnaud <[email protected]>
>
> > Hi
>
> > If I require 'sequel/extensions/inflector' before sequel, it fails, because
> > inflector uses sequel.
>
> > I fixed it by requiring sequel before, but it should do it itself :)
>
> I realize I do not need this extension anyway, but I was misguided with
> 2.12.0 which says :
> "String <http://sequel.rubyforge.org/rdoc/classes/String.html> inflection
> methods (e.g. “people”.singularize) have been moved into
> sequel/extensions/inflector."
>
> But it should also have been noted that it was replaced by
> Sequel::Inflections :)
> It might have been added later though.

It's assumed that if you are using a Sequel extension, you have
already required Sequel.  I don't plan on changing that assumption.
If you want general inflection support (not using Sequel), there are
other libraries that can do so.  The inflector extension is just for
backwards compatibility with pre-3.0 versions.

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