|
Re: [jruby-user] Working with activerecord-jdbcpostgresql-adapter in Rails : msg#00205lang.jruby.user
I was able to correct the issue. My database.yml file was correct but my database needed to be flattened. My schema version was incorrect for some reason. But I'm up and running with the new adapter. Time to dive into the rest of the Rails 2.0 benefits. MDWeezer wrote: > > I'm building my Rails apps with JRuby and I recently upgraded to Rails > 2.0.1 and I'm trying to move everything over to the new conventions. > > I was ActiveRecord-JDBC for a connection to both an Oracle and a > PostgreSQL database. But now I'm trying to utilize the newly released AR > adapters for each database. > > What is the right syntax in my database.yml file? > > I've tried a variety of combinations but when running any of the new Rake > tasks (db:create, reset etc etc) and even migrations I'm not getting any > responses in my output with no changes to my database. > > Any thoughts? I've used many combinations of what's below. I've also > stripped out URL and used "hostname" and "database" without much luck. > > development: > adapter: jdbcpostgresql > url: jdbc:postgresql://host:port/db > username: user > password: password > > Thanks! > -- View this message in context: http://www.nabble.com/Working-with-activerecord-jdbcpostgresql-adapter-in-Rails-2.0.1-tp14398461p14403339.html Sent from the JRuby - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe from this list please visit: http://xircles.codehaus.org/manage_email |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | [jruby-user] Daniel C. Dennison is out of the office.: 00205, DDENNISON |
|---|---|
| Next by Date: | [jruby-user] Daniel C. Dennison is out of the office.: 00205, DDENNISON |
| Previous by Thread: | [jruby-user] Working with activerecord-jdbcpostgresql-adapter in Rails 2.0.1i: 00205, MDWeezer |
| Next by Thread: | [jruby-user] Running compiled code errors with require: 00205, Chris Evans |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |