Hi Sébastien, Stuff like find_by_title might be done, but not so soon, since it's rather complex to implement it properly.
The conditions like you describe are probably never going to happen. To change this, we would need to monkeypatch Rails to not query it, although it should. No sane programmer would attempt such a thing. It's unmaintainable. Regards, Iain On Mon, Jan 12, 2009 at 13:06, Sébastien Grosjean - ZenCocoon <[email protected]> wrote: > > Hi, > > I just realized that when using Globalize 2 the dynamix finders > doesn't work anymore. > >>> Post.find(:first).title > => "TEST" >>> Post.find_by_title("TEST") > => NoMethodError: undefined method `find_by_title' for Post(... > > As any work been done to keep dynamic finders working ? > > Having normal query conditions working transparently as well would be > great: > >>> Post.find(:first, :conditions => {:name => "TEST"}) > => ActiveRecord::StatementInvalid: SQLite3::SQLException: no such > column: posts.name: ... > > Warm regards, > -- > Sebastien Grosjean - ZenCocoon > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "rails-i18n" 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/rails-i18n?hl=en -~----------~----~----~----~------~----~------~--~---
