Hi there I've just started using Sequel on a project. I'm looking for something similar to ActiveRecord's find_by_sql method. Yes, I do actually want to write the SQL statement myself ;-)
I create a dataset with the relevant SQL statement, and then using the Model.dataset = method, which works, but that seems quite clunky. I see I could also use def_dataset_method, but that's too permanent for what I want. So is there a good way to do this? thanks John -- 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.
