Did you establish a database connection first? If you have your model within a separate .rb file then make sure your DB connection is created before you require the model.
sequel_model/base.rb:124:in `db': No database associated with > Sequel::Model (Sequel::Error) > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
