search for: define_all_hashes_method

Displaying 4 results from an estimated 4 matches for "define_all_hashes_method".

2009 Oct 01
3
mongrel + mysql can't connect in custom mysql install
..._constant'' /home/t192zcs/ruby/lib/ruby/gems/1.9.1/gems/activesupport-2.3.4/lib/active_support/dependencies.rb:80:in `const_missing_with_dependencies'' /home/t192zcs/ruby/lib/ruby/gems/1.9.1/gems/activerecord-2.3.4/lib/active_record/connection_adapters/mysql_adapter.rb:9:in `define_all_hashes_method!'' /home/t192zcs/ruby/lib/ruby/gems/1.9.1/gems/activerecord-2.3.4/lib/active_record/connection_adapters/mysql_adapter.rb:66:in `mysql_connection'' /home/t192zcs/ruby/lib/ruby/gems/1.9.1/gems/activerecord-2.3.4/lib/active_record/connection_adapters/abstract/connection_pool.rb...
2007 Feb 04
1
Rails-Mysql driver installation problem? - newbie
...nt_name> I get the following error message: "RuntimeError in RecipeController#new Mysql not loaded" The development.log file reads: "RuntimeError (Mysql not loaded): /usr/lib/ruby/gems/1.8/gems/activerecord-1.15.1/lib/active_record/ connection_adapters/mysql_adapter.rb:7:in `define_all_hashes_method!'' ... ..." Sorry if I''m not explaining this well ... very new at it. I was able to successfully connect to the mysql server outside of rails and create the db & recipe table (per tutorial). Can''t seem to get rails to connect, though. Any help would be appreci...
2008 Dec 01
0
RuntimeError (Mysql not loaded)
Any idea why mysql gem would not load properly ? log/production.log: RuntimeError (Mysql not loaded): /usr/lib/ruby/gems/1.8/gems/activerecord-2.1.2/lib/active_record/ connection_adapters/mysql_adapter.rb:7:in `define_all_hashes_method!'' [XXXX]$ irb irb(main):001:0> require ''rubygems'' => true irb(main):002:0> require ''mysql'' => true Thanks, Prem. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Grou...
2009 Jul 31
43
Error: uninitialized constant MysqlCompat::MysqlRes
....rb:436:in `load_missing_constant'' /usr/local/lib/ruby/gems/1.9.1/gems/activesupport-2.3.3/lib/active_support/dependencies.rb:80:in `const_missing_with_dependencies'' /usr/local/lib/ruby/gems/1.9.1/gems/activerecord-2.3.3/lib/active_record/connection_adapters/mysql_adapter.rb:9:in `define_all_hashes_method!'' /usr/local/lib/ruby/gems/1.9.1/gems/activerecord-2.3.3/lib/active_record/connection_adapters/mysql_adapter.rb:71:in `mysql_connection'' /usr/local/lib/ruby/gems/1.9.1/gems/activerecord-2.3.3/lib/active_record/connection_adapters/abstract/connection_pool.rb:223:in `new_connection&...