Where should the database connection code be placed in a Rails app? Where should I put this:
require 'sequel' DB = Sequel.connect(YAML.load(File.read(File.join(::Rails.root,'config/ database.yml')))[::Rails.env]) -- 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.
