benjamin wrote: > ActiveRecord -- the part of Rails responsible for talking to the > database -- does not support the configuration of multiple data > sources for the purposes of segmenting reads and writes and directing > them to different mysql servers on that basis, at this time, as far as > I know. > > There is a submitted but to-date-not-accepted patch to do this. Its > author considered it "alpha" code at the time. I've tested it a bit. > It does function. If you are interested in pursuing it, I can provide > patched base.rb and connection_adapter.rb files for ActiveRecord that > work circa Rails 1.1.5. The original is here: > http://wrath.rubyonrails.org/pipermail/rails-core/2006-July/002019.html
Hello Benjamin, I have started to implementing this solution and faced with problem :( First of all I am not able to apply patch you provided. (I am using Rails 1.1.6). So patch should be rather different. I will very appreciate if you can guide me where can I find additional documentation about it, also may be you can provide me base and connection_adapter files for Rails 1.1.5. Thanks a lot. -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Deploying Rails" group. To post to this group, send email to rubyonrails-deployment@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rubyonrails-deployment?hl=en -~----------~----~----~----~------~----~------~--~---