On Dec 6, 3:53 am, Mark <[email protected]> wrote: > As far as I could understand, the default way of doing things in > sequel is inheriting from Sequel::Model.
Correct. > However, I'd like to have some modules included in every model. > > How can I avoid "Table '<name>' doesn't exist" error? You shouldn't get that error unless you are trying to return records for a model whose underlying table does not exist. You'll have to post your code and backtrace if you have specific questions about why you are getting the error. > Include modules > directly into Sequel::Model? That should work fine. > Monkey-patch sequel-model? That should also work fine. 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.
