On Sat, Mar 6, 2010 at 5:55 PM, tispratik <[email protected]> wrote:
> I created the sessions table in appA. How do i access the sessions > table in appB. > I tried to put ActiveRecord::Base.establish_connection :appA in the > config\initializers\session_store.rb of appB, > but that connects the whole appB application to appA database. I only > want to access the sessions table. Then you need to use establish_connection *only* in the model that's accessing that table. -- Hassan Schroeder ------------------------ [email protected] twitter: @hassan -- 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 [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

