On Jan 13, 8:14 am, daniel_spaniel <[email protected]> wrote: > Hi, > > I was wondering if there is a way to declare a class as a > Sequel::Model and not necessarily have it have a database set up until > later ( when I actually issue a query against model.
No, there is not. You have to setup your database connection first, as it is during class initialization that Sequel introspects the database. This isn't generally problematic, why would you need to define the models first? 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.
