I am building a gem to annotate Sequel models in Rails projects: https://github.com/kennym/annotate-sequel
It is not working yet, because whenever I require a Rails model to parse its schema information I am getting the following error: No database associated with Sequel::Model: have you called Sequel.connect or Sequel::Model.db= I do understand what the error is about, but I would like to gather your feedback on how you could get the Rails connection details from within the gem, without supplying that information separately. Looking forward to read your answers! -- 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 post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/sequel-talk. For more options, visit https://groups.google.com/groups/opt_out.
