Greg Donald wrote: > On Mon, Oct 5, 2009 at 7:35 AM, Rafael Roque > <rails-mailing-l...@andreas-s.net> wrote: >> �set_sequence_name 'sequence_name' >> >> What could be wrong? >> Thanks, >> Rafael Roque > > > Which Oracle driver are you using? I used to have problems with the > older one but now I use the enhanced one and it's been much better. > >> gem list --local|grep oracle > activerecord-oracle_enhanced-adapter (1.2.0) > > > -- > Greg Donald > http://destiney.com/
Hi Greg, I´m using Oracle 9.2.I just put ojdbc14.jar in my %jruby_home%/bin directory and it is ready to go. In my environment.rb I have the following: if RUBY_PLATFORM =~ /java/ require 'rubygems' gem 'activerecord-jdbc-adapter', '0.9' require 'jdbc_adapter' end And my database.yml looks like this: development: adapter: jdbc driver: oracle.jdbc.OracleDriver url: jdbc:oracle:thin:@ip:1521:database username: xxxxxx password: xxxxxx encoding: utf8 pool: 5 What should I change? Thanks for your attention. Rafael Roque -- 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-talk@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 -~----------~----~----~----~------~----~------~--~---