Is is possible to defer loading the dataset used for a Model until the 
class is used rather than when the file is required? Currently, with an 
empty database, the following file raises an error when required because 
`some_table` does not exist yet:

```
class MyModel < Sequel::Model(DB[:some_table]); end
```

My use case is that I'm using Sequel in a Rails Engine. The above error 
prevents running bin/rails db:* commands because the Rails application 
along with my engine which raises the error.

-- 
You received this message because you are subscribed to the Google Groups 
"sequel-talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sequel-talk/c50de6d7-cec5-4d87-af1d-d766e92d008bn%40googlegroups.com.

Reply via email to