search for: univ_parse_dev

Displaying 2 results from an estimated 2 matches for "univ_parse_dev".

2011 Jul 27
0
require specific version of active record
...rubygems'' gem ''activerecord'', ''= 3.0.3'' ActiveRecord::Base.establish_connection( :adapter => "mysql", :host => "localhost", :pool => 5, :encoding => ''utf8'', :reconnect => false, :database => "univ_parse_dev", :user => "PZZ", :password => "PZZ" ) class MsdsAttr < ActiveRecord::Base end attr = MsdsAttr.find(:first) -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email...
2011 Jul 26
0
active record wants root password, not sure why ..
...rue has_many :attribute_values, :foreign_key => ''attribute_id'' has_many :alt_values, :as => :alternative has_many :msds_ingredients end ActiveRecord::Base.establish_connection( :adapter => "mysql", :host => "localhost", :database => "univ_parse_dev", :user => "PZZ", :password => "PZZ" ) attr = MsdsAttr.find(:first) I get the error below even though I didn''t try to connect using root. Running rails server/console etc doesn''t have this problem .. C:\inetpub\wwwroot\Larry\univ-parse>ruby db...