search for: connection_adapter

Displaying 20 results from an estimated 524 matches for "connection_adapter".

Did you mean: connection_adapters
2006 Nov 24
7
Anyone know whats going on with PostgreSQL async_exec errors?
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Anyone know what''s going on with ActiveRecord Edge and 1.2RC1 unit tests. I get 13 failures from the "async_exec" method call. ie: test_callback_rollback_in_save(ConcurrentTransactionTest): ActiveRecord::StatementInvalid: NoMethodError: undefined method `async_exec'' for #<PGconn:0xb75a8754>: SET
2008 Jan 16
0
[CruiseControl] RubyOnRails build 8649 failed
...gings_count\" does not exist\n: UPDATE \"posts\" SET \"taggings_count\" = \"taggings_count\" + 1 WHERE (\"id\" = 2) AND ( (\"posts\".\"type\" = ''SpecialPost'' ) ) "> ---Backtrace--- ./test/../lib/active_record/connection_adapters/abstract_adapter.rb:156:in `log'' ./test/../lib/active_record/connection_adapters/postgresql_adapter.rb:407:in `execute_without_counting'' ./test/abstract_unit.rb:71:in `execute'' ./test/../lib/active_record/connection_adapters/abstract/database_statements.rb:162:in `update...
2010 Dec 15
2
Error reverse engineering MySQL with RMRE
...ck::MethodOverride ActionDispatch::Head ActionDispatch::BestStandardsSupport Application root /root/test/app Environment development Database adapter mysql2 Database schema version 0 ====== % rmre -a mysql -d test -u root /usr/local/rvm/gems/ruby-1.9.2-p0/gems/activerecord-3.0.3/lib/ active_record/connection_adapters/mysql_adapter.rb:22:in `rescue in mysql_connection'': !!! Missing the mysql2 gem. Add it to your Gemfile: gem ''mysql2'' (RuntimeError) from /usr/local/rvm/gems/ruby-1.9.2-p0/gems/activerecord-3.0.3/lib/ active_record/connection_adapters/mysql_adapter.rb:19:in `mysql_conne...
2008 Mar 07
3
Boolean circles..
...embers.find(:first, :conditions => "is_active = true") ActiveRecord::StatementInvalid: SQLite3::SQLException: no such column: true: SELECT * FROM members WHERE (members.club_id = 1 AND (is_active = true)) LIMIT 1 from /Library/Ruby/Gems/1.8/gems/activerecord-2.0.2/lib/active_record/connection_adapters/abstract_adapter.rb:150:in `log'' from /Library/Ruby/Gems/1.8/gems/activerecord-2.0.2/lib/active_record/connection_adapters/sqlite_adapter.rb:132:in `execute'' from /Library/Ruby/Gems/1.8/gems/activerecord-2.0.2/lib/active_record/connection_adapters/sqlite_adapter.rb:345:in `catc...
2007 Oct 07
0
Rails AR/Oracle Unit Test: [7769] failed (getting worse)
...set/7769 ------------------------------------------------------------------------ r7769 | bitsweat | 2007-10-06 22:29:37 -0700 (Sat, 06 Oct 2007) | 1 line MySQL: speedup date/time parsing. ------------------------------------------------------------------------ U activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb U activerecord/lib/active_record/connection_adapters/mysql_adapter.rb U activerecord/CHANGELOG Updated to revision 7769. 1) Failure: test_preserving_date_objects(BasicsTest) [./test/base_test.rb:387:in `test_preserving_date_objects'' /usr/pk...
2009 Jul 07
3
rake db:create:all error
Hi, I am getting this error when i execute rake db:create:all /opt/gitorious/vendor/rails/activerecord/lib/active_record/connection_adapters/mysql_adapter.rb:569: [BUG] unknown type 0x22 (0xc given) any clues ? -Manish -- Posted via http://www.ruby-forum.com/.
2013 Apr 13
2
running rails on my linux mint
...2-0.3.11/lib/mysql2/client.rb:44:in `connect'': Unknown database ''simple_pod_development'' (Mysql2::Error) from /var/lib/gems/1.8/gems/mysql2-0.3.11/lib/mysql2/client.rb:44:in `initialize'' from /var/lib/gems/1.8/gems/activerecord-3.2.13/lib/active_record/connection_adapters/mysql2_adapter.rb:16:in `new'' from /var/lib/gems/1.8/gems/activerecord-3.2.13/lib/active_record/connection_adapters/mysql2_adapter.rb:16:in `mysql2_connection'' from /var/lib/gems/1.8/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/connection_po...
2010 Jan 26
1
Mongrels Hanging in mysql_adapter.rb
...The problem kept happening. I decided to lower that number, making it 60. No more success. I installed gdb and the ruby macros to make sure i was in the mysql driver while hanging and sure enough, here is the top of the BT from GDB : /var/lib/gems/1.8/gems/activerecord-2.2.2/lib/active_record/ connection_adapters/mysql_adapter.rb:264:in `active?''", "/var/lib/gems/1.8/gems/activerecord-2.2.2/lib/active_record/ connection_adapters/abstract_adapter.rb:136:in `verify!''", "/var/lib/gems/1.8/gems/activerecord-2.2.2/lib/active_record/ connection_adapters/abstract/connection_p...
2009 Aug 28
0
Error connecting to Sybase (odd)
...onnect'' from c:/ruby/lib/ruby/site_ruby/1.8/i386-msvcrt/sybct.rb:27:in `open'' from c:/ruby/lib/ruby/site_ruby/1.8/i386-msvcrt/sybsql.rb:269:in `initialize'' from c:/ruby/lib/ruby/gems/1.8/gems/activerecord-sybase-adapter-1.0.0.9250/lib/active_record/connection_adapters/sybase_adapter.rb:46:in `new'' from c:/ruby/lib/ruby/gems/1.8/gems/activerecord-sybase-adapter-1.0.0.9250/lib/active_record/connection_adapters/sybase_adapter.rb:46:in `sybase_connection'' from c:/ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.2/lib/active_record/conn...
2009 Jun 09
3
NameError what is it?
...er.rb:36:in `connect'' d:/ruby/lib/ruby/gems/1.8/gems/dbi-0.4.1/lib/dbi/handles/driver.rb:33:in `connect'' d:/ruby/lib/ruby/gems/1.8/gems/dbi-0.4.1/lib/dbi.rb:142:in `connect'' d:/ruby/lib/ruby/gems/1.8/gems/activerecord-sqlserver-adapter-2.2.18/lib/active_record/connection_adapters/sqlserver_adapter.rb:775:in `connect'' d:/ruby/lib/ruby/gems/1.8/gems/activerecord-sqlserver-adapter-2.2.18/lib/active_record/connection_adapters/sqlserver_adapter.rb:211:in `initialize'' d:/ruby/lib/ruby/gems/1.8/gems/activerecord-sqlserver-adapter-2.2.18/lib/active_record...
2010 Mar 24
1
Trouble starting the server, HELP PLEASE!
...st_missing'' /usr/local/lib/ruby/gems/1.8/gems/sqlite3-0.0.8/lib/sqlite3/ encoding.rb:9:in `find'' /usr/local/lib/ruby/gems/1.8/gems/sqlite3-0.0.8/lib/sqlite3/ database.rb:66:in `initialize'' /usr/local/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/ active_record/connection_adapters/sqlite3_adapter.rb:13:in `new'' /usr/local/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/ active_record/connection_adapters/sqlite3_adapter.rb:13:in `sqlite3_connection'' /usr/local/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/ active_record/connection_adapters/abstract/co...
2008 Feb 19
1
[CruiseControl] RubyOnRails build 8896 failed
...test_include_query(EagerLoadPolyAssocsTest) Type: Error Message: ActiveRecord::StatementInvalid: PGError: ERROR: syntax error at or near "Engine" at character 50 : CREATE TABLE "circles" ("id" serial primary key) Engine=MyISAM ./test/cases/../../lib/active_record/connection_adapters/abstract_adapter.rb:151:in `log'' ./test/cases/../../lib/active_record/connection_adapters/postgresql_adapter.rb:407:in `execute_without_counting'' ./test/cases/helper.rb:46:in `execute'' ./test/cases/../../lib/active_record/connection_adapters/abstract/schema_s...
2006 Apr 30
3
MySQL connection problems on Dreamhost
...L server during query): Any idea why this happens? It''s rather intermittent and random, but I get this a few times a week. I''ve pasted a large section of the call stack below in case it helps. Thanks! Jeff /usr/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/connection_adapters/mysql_adapter.rb:316:in `real_connect'' /usr/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/connection_adapters/mysql_adapter.rb:316:in `connect'' /usr/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/connection_adapters/mysql_adapter.rb:87:in `...
2007 Dec 14
3
Issue with upgrading to 2.0 on Leopard? Or something else?
...out with rails, but I love it!) I get when I load localhost:3000 into my browser and try to show the info about the application''s environment: Mysql::Error in Rails/infoController#properties And here''s the trace: /Library/Ruby/Gems/1.8/gems/activerecord-2.0.1/lib/active_record/ connection_adapters/mysql_adapter.rb:471:in `real_connect'' /Library/Ruby/Gems/1.8/gems/activerecord-2.0.1/lib/active_record/ connection_adapters/mysql_adapter.rb:471:in `connect'' /Library/Ruby/Gems/1.8/gems/activerecord-2.0.1/lib/active_record/ connection_adapters/mysql_adapter.rb:165:in `initialize...
2011 Jul 26
0
active record wants root password, not sure why ..
...-3.0.9/lib/ active_record/connect ion_adapters/mysql_adapter.rb:614:in `real_connect'': Access denied for user ''roo t''@''localhost'' (using password: YES) (Mysql::Error) from C:/Ruby192/lib/ruby/gems/1.9.1/gems/activerecord-3.0.9/ lib/active_r ecord/connection_adapters/mysql_adapter.rb:614:in `connect'' from C:/Ruby192/lib/ruby/gems/1.9.1/gems/activerecord-3.0.9/ lib/active_r ecord/connection_adapters/mysql_adapter.rb:164:in `initialize'' from C:/Ruby192/lib/ruby/gems/1.9.1/gems/activerecord-3.0.9/ lib/active_r ecord/connection_ad...
2010 Oct 28
2
ActiveRecord JDBC error Generated keys not requested
...te db:schema:dump rake aborted! ActiveRecord::JDBCError: Generated keys not requested. You need to specify Statement.RETURN_GENERATED_KEYS to Statement.executeUpdate() or Connection.prepareStatement().: SET SQL_AUTO_IS_NULL=0 /jruby-1.5.3/lib/ruby/gems/1.8/gems/activerecord-3.0.1/lib/ active_record/connection_adapters/abstract_adapter.rb:202:in `log'' /jruby-1.5.3/lib/ruby/gems/1.8/gems/activerecord-jdbc-adapter-1.0.2- java/lib/arjdbc/jdbc/adapter.rb:178:in `execute'' /jruby-1.5.3/lib/ruby/gems/1.8/gems/activerecord-jdbc-adapter-1.0.2- java/lib/arjdbc/mysql/adapter.rb:14:in `configure_connection...
2010 Mar 12
7
"We're sorry, but something went wrong." from RoR app
...e. Thanks in Advance, Richard Development.log ============ /!\ FAILSAFE /!\ Fri Mar 12 13:42:10 -0500 2010 Status: 500 Internal Server Error Unknown database ''rts_development'' K:/_Utilities/ruby186-26_rc2/ruby/lib/ruby/gems/1.8/gems/ activerecord-2.3.5/lib/active_record/connection_adapters/ mysql_adapter.rb:589:in `real_connect'' K:/_Utilities/ruby186-26_rc2/ruby/lib/ruby/gems/1.8/gems/ activerecord-2.3.5/lib/active_record/connection_adapters/ mysql_adapter.rb:589:in `connect'' K:/_Utilities/ruby186-26_rc2/ruby/lib/ruby/gems/1.8/gems/ activerecord-2.3.5/lib/a...
2010 Jun 28
3
rake db:create failing
...''m running Mac OS X Snow Leopard. Trying to set up a new SQLite database, but when I run rake db:create, I get the following huge message: unable to open database file /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/ gems/1.8/gems/activerecord-2.3.5/lib/active_record/connection_adapters/ sqlite3_adapter.rb:13:in `initialize'' /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/ gems/1.8/gems/activerecord-2.3.5/lib/active_record/connection_adapters/ sqlite3_adapter.rb:13:in `new'' /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/...
2006 Feb 09
2
postgres connection problems
...t to server: Permission denied Is the server running on host "localhost" and accepting TCP/IP connections on port 5432? RAILS_ROOT: /var/www/html/blog/public/../config/.. Application Trace | Framework Trace | Full Trace /usr/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/connection_adapters/postgresql_adapter.rb:23:in `connect'' /usr/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/connection_adapters/postgresql_adapter.rb:23:in `postgresql_connection'' /usr/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/connection_adapters/abstract/connectio...
2009 Jun 30
2
First time problem
...2/lib/ active_support/core_ext/kernel/reporting.rb:11:in `silence_warnings'' c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/ active_support/core_ext/kernel/requires.rb:5:in `require_library_or_gem'' c:/ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.2/lib/ active_record/connection_adapters/sqlite3_adapter.rb:10:in `sqlite3_connection'' c:/ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.2/lib/ active_record/connection_adapters/abstract/connection_pool.rb:223:in `send'' c:/ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.2/lib/ active_record/connection_adapters/abstra...