On Mon, Nov 29, 2010 at 8:08 AM, Steve Mills <[email protected]> wrote:
> in the "app" folder is a file "store.rb" and this contains the following > lines... > > ActiveRecord::Base.establish_connection( > :adapter => 'sqlite3', > :database => 'db/development.sqlite3') > > It is these lines that are causing the problem since I am not using > sqlite3 but rather mysql2. > > I don't know how to fix this. I tried the following... > > ActiveRecord::Base.establish_connection( > :adapter => 'mysql2', > :database => 'db/development.mysql2') > > But that produced a new set of errors. No kidding -- " :database => 'db/development.mysql2' " is certainly one problem. Do you not have a config/database.yml entry for your actual DB that works? To compare to? If not, you'll have to get that sorted first. -- Hassan Schroeder ------------------------ [email protected] twitter: @hassan -- 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 [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

