On Wednesday, August 14, 2013 9:42:25 PM UTC-7, Warren Wright wrote: > I am new to sequel, but am looking at it because I need to connect to > legacy SQL Server databases that my company maintains. > > I plugged in the sequel-rails gem and have removed the last vestiges of > ActiveRecord from this (newly crafted) rails app, but I'm a little unsure > how to proceed from there. > > Do I need to create an initializer to set up the connection string for > Sequel to hit one of our legacy databases? > > Are there any great example jruby rails apps in the wild that are > viewable? I'd love to see a live example of good practices in setting this > up. >
Personally, I don't use sequel-rails, I just require sequel manually, do global setup in environment.rb, and set up the database in the respective environment files. I have an open source app that uses this approach if you want to take a look: https://github.com/jeremyevans/spam. Thanks, Jeremy > -- 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.
