Is there a good reason you want to skip the model? if contact.rb looks like this: class Contact < ActiveRecord::Base establish_connection(:development2) end
then you can do this in the controller= @contact = Contact.find(1) and it will fetch contacts from development 2. -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-t...@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.