Displaying 1 result from an estimated 1 matches for "nameerro".
Did you mean:
nameerror
2011 Jul 27
0
require specific version of active record
...(3.0.9, 3.0.3)
actionpack (3.0.9, 3.0.3)
activemodel (3.0.9, 3.0.3)
activerecord (3.0.9, 3.0.3)
activeresource (3.0.9, 3.0.3)
activesupport (3.0.9, 3.0.3)
So then I tried the code below, but I get this error:
db-test2.rb:6:in `<main>'': uninitialized constant Object::ActiveRecord
(NameErro
r)
require ''rubygems''
gem ''activerecord'', ''= 3.0.3''
ActiveRecord::Base.establish_connection(
:adapter => "mysql",
:host => "localhost",
:pool => 5,
:encoding => ''utf8'',
:reconnect => false...