Web Hosting Forum | Lunarpages


*
Welcome, Guest. Please login or register.
Did you miss your activation email?



Login with username, password and session length
May 25, 2012, 03:41:06 AM

Pages: [1]   Go Down
  Print  
Author Topic: mysql problem  (Read 72491 times)
stevek91411
Newbie
*
Offline Offline

Posts: 2


« on: March 23, 2011, 08:15:20 PM »

i am trying to change the default ROR project setup to use mysql rather than sqlite.  I have changed the database.yml file to specify mysql. Even though my app is in development mode the changes are not taking effect and i can  see an error in the log

/usr/local/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/active_record/connection_adapters/sqlite_adapter.rb:189:in `columns'


where it is still using the sqlite gem. Any idea how to reload the database.yml file to use mysql?

Logged
Pages: [1]   Go Up
  Print  
 
Jump to: