This post originated from an RSS feed registered with Ruby Buzz
by Robby Russell.
Original Post: A PostgreSQL tip
Feed Title: Robby on Rails
Feed URL: http://www.contegix.com/rss/feed.xml
Feed Description: My reflections on programming with Ruby, Rails, PostgreSQL... and learning how to run a business...
I promised that I would send a link out or something… so here goes.
Tonight at the Portland Ruby Brigade meeting, the question about having Active Record READ from one database and WRITE to another database was brought up. The discussion was going in the route of, “How can we make AR do this?”
I chimed in with my usual PostgreSQL bias. “pgpool.”
Let something else handle this. Infact, with PgPool, you don’t have to change any code in your Rails application to make this work. :-)