From: Michael Schoen Date: 2005-09-07T06:06:17+09:00 Subject: Re: rails and oracle sequences To apply the patch, you'll need to be running on edge rails, meaning you've got a local working copy of the repository. You can checkout the repository with the command: svn co http://dev.rubyonrails.org/svn/rails/trunk This will create a "trunk" dir that contains the head of the svn repository. Create a symlink to this dir called 'rails' in your APPROOT/vendor dir, and then apply the patch using the 'patch' command. Alternatively (and easier), just use "beta gems" -- the Rails team periodically releases a pre-release gem version, and the last 2 beta gems have included this patch. You can install the beta gems with the command: gem update --remote --source gems.rubyonrails.com Carlos Diaz wrote: > Hi, > > I'm trying to build an application on rails using an oracle 9i database on > the backend. everything was going fine until I ran into a problem with rails > trying to use the rails_sequence for all the ids (primary keys) in my > database. This seems to be a known issue and there appears to be a fix for > it. It's all documented here: > > http://dev.rubyonrails.com/ticket/1798 > > The problem I'm running into is that I do not know how to apply this patch > to my current installation. I tried doing a 'gem update rails', 'gem update > activerecord' and 'gem update' but this does not seem to solve the problem. > I think I need to actually apply the patch to my installation. > > Can someone help me understand how to do this? I can't seem to find any docs > descibing how/what to patch (do I patch OCI or activerecord?). Or if you can > at least point me in the right direction :) > > Thanks, > Carlos >