search for: abstract_adapt

Displaying 20 results from an estimated 166 matches for "abstract_adapt".

Did you mean: abstract_adapter
2005 Mar 10
1
Running unit tests on SQL Server
...uby/site_ruby/1.8/dbi/dbi.rb:381:in `connect'' E:/OpenSource/Ruby/rails/trunk/activerecord/test/../lib/active_record/connec tion_adapters/sqlserver_adapter.rb:46:in `sqlserver_connection'' E:/OpenSource/Ruby/rails/trunk/activerecord/test/../lib/active_record/connec tion_adapters/abstract_adapter.rb:148:in `send'' E:/OpenSource/Ruby/rails/trunk/activerecord/test/../lib/active_record/connec tion_adapters/abstract_adapter.rb:148:in `connection='' E:/OpenSource/Ruby/rails/trunk/activerecord/test/../lib/active_record/connec tion_adapters/abstract_adapter.rb:112:in `retriev...
2005 Nov 26
4
activerecord rake test_mysql
..._macro_callbacks(AssociationCallbacksTest): ActiveRecord::StatementInvalid: Mysql::Error: #HY000Field ''type'' doesn''t have a default value: INSERT INTO projects (`name`, `id`) VALUES (''Active Record'', 1) ./test/../lib/active_record/connection_adapters/abstract_adapter.rb:78:in `log'' ./test/../lib/active_record/connection_adapters/mysql_adapter.rb:181:in `execute'' ./test/../lib/active_record/fixtures.rb:284:in `insert_fixtures'' ./test/../lib/active_record/fixtures.rb:283:in `each'' ./test/../lib/active_record/f...
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
2005 Mar 23
1
Can't connect to local MySQL server through socket '/tmp/mysql.sock' (61)
...on_adapters/mysql_adapter.rb:39:in `real_connect'' /usr/local/lib/ruby/gems/1.8/gems/activerecord-1.9.0/lib/active_record/connection_adapters/mysql_adapter.rb:39:in `mysql_connection'' /usr/local/lib/ruby/gems/1.8/gems/activerecord-1.9.0/lib/active_record/connection_adapters/abstract_adapter.rb:136:in `send'' /usr/local/lib/ruby/gems/1.8/gems/activerecord-1.9.0/lib/active_record/connection_adapters/abstract_adapter.rb:136:in `connection='' /usr/local/lib/ruby/gems/1.8/gems/activerecord-1.9.0/lib/active_record/connection_adapters/abstract_adapter.rb:100:in `ret...
2005 Apr 26
2
SQLite error
...t-1.0.4/lib/active_support/dependencies.rb:183:in `const_missing'' /usr/lib/ruby/gems/1.8/gems/activerecord-1.10.1/lib/active_record/connection_adapters/sqlite_adapter.rb:33:in `sqlite_connection'' /usr/lib/ruby/gems/1.8/gems/activerecord-1.10.1/lib/active_record/connection_adapters/abstract_adapter.rb:136:in `send'' /usr/lib/ruby/gems/1.8/gems/activerecord-1.10.1/lib/active_record/connection_adapters/abstract_adapter.rb:136:in `connection='' /usr/lib/ruby/gems/1.8/gems/activerecord-1.10.1/lib/active_record/connection_adapters/abstract_adapter.rb:100:in `retrieve_connection...
2005 Mar 09
2
LoadError
...ruby/1.8/rubygems/custom_require.rb:18:in `require__'' /home/milewis/sparc/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:18:in `require'' /vendor/activesupport/lib/active_support/dependencies.rb:197:in `require'' /vendor/activerecord/lib/active_record/connection_adapters/abstract_adapter.rb:10:in `require_library_or_gem'' /vendor/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb:20:in `postgresql_connection'' /vendor/activerecord/lib/active_record/connection_adapters/abstract_adapter.rb:136:in `send'' /vendor/activerecord/lib/active_...
2008 Jan 16
0
[CruiseControl] RubyOnRails build 8649 failed
...oes 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_sql'' ....
2010 Mar 05
0
NoMethodError (undefined method `match' for nil:NilClass):
...your help. Thank you very much for your input. *************************************************************** NoMethodError (undefined method `match'' for nil:NilClass): /lib/redmine/scm/adapters/subversion_adapter.rb:40:in `svn_binary_version'' /lib/redmine/scm/adapters/abstract_adapter.rb:177:in `call'' /lib/redmine/scm/adapters/abstract_adapter.rb:177:in `shellout'' /lib/redmine/scm/adapters/abstract_adapter.rb:175:in `popen'' /lib/redmine/scm/adapters/abstract_adapter.rb:175:in `shellout'' /lib/redmine/scm/adapters/subversion_ad...
2008 Feb 19
1
[CruiseControl] RubyOnRails build 8896 failed
...agerLoadPolyAssocsTest) 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_statements.rb:104...
2006 May 09
2
newbie: OSX Ruby/MySQL issue?
...> ActiveRecord::Base.connection.execute("SHOW FIELDS FROM recipe") ActiveRecord::StatementInvalid: Mysql::Error: Lost connection to MySQL server during query: SHOW FIELDS FROM recipe from /usr/lib/ruby/gems/1.8/gems/activerecord-1.14.2/lib/ active_record/connection_adapters/abstract_adapter.rb:120:in `log'' from /usr/lib/ruby/gems/1.8/gems/activerecord-1.14.2/lib/ active_record/connection_adapters/mysql_adapter.rb:185:in `execute'' from (irb):6 == I''ve reinstalled all of RoR using a validcode.at bash script [3]-- this supposedly fixed a...
2006 Aug 15
2
has_many + finder_sql & :include
...> '' select * from other_things '' + '' where id = #{id} '' When I do MyClass.find(:all, :include => :things) I get a weird error: from c:/ruby/lib/ruby/gems/1.8/gems/activerecord-1.14.4/lib/active_record/connection_adapters/abstract_adapter.rb:120:in `log'' from c:/ruby/lib/ruby/gems/1.8/gems/activerecord-1.14.4/lib/active_record/connection_adapters/sqlserver_adapter.rb:485:in `select'' from c:/ruby/lib/ruby/gems/1.8/gems/activerecord-1.14.4/lib/active_record/connection_adapters/sqlserver_adapter.rb:233:in `se...
2005 Feb 13
6
Apache config help needed
Hi all, I''m (STILL) plugging away trying to get rails to work under Apache2 Rails 0.9.5 Apache 2, OS Mandrake Linux 10.1 Apache is already running other stuff on /pluto/ and /localhost/ so I wish to install a new virtual host for rails to avoid upsetting anything. Added rails to my hosts file, and edited conf/Vhosts.conf to contain NameVirtualHost 192.168.0.254 <VirtualHost
2006 Jun 23
1
''Series'' Pluralization
...1) Error: test_has_content(ContentSeriesTest): ActiveRecord::StatementInvalid: Mysql::Error: Table ''freepets_test.content_sery'' doesn''t exist: SELECT * FROM content_sery LIMIT 1 /usr/lib/ruby/gems/1.8/gems/activerecord-1.14.2/lib/active_record/connection_adapters/abstract_adapter.rb:120:in `log'' /usr/lib/ruby/gems/1.8/gems/activerecord-1.14.2/lib/active_record/connection_adapters/mysql_adapter.rb:185:in `execute'' /usr/lib/ruby/gems/1.8/gems/activerecord-1.14.2/lib/active_record/connection_adapters/mysql_adapter.rb:337:in `select'' /usr/l...
2011 Jul 25
4
Rails 3 test database issues
...le_name`, `conversion_dir_id`, ` created_at`, `updated_at`, `id`) VALUES (''MyString'', 1, ''2011-07-25 13:32:52'', '' 2011-07-25 13:32:52'', 980190962) C:/Ruby192/lib/ruby/gems/1.9.1/gems/activerecord-3.0.3/lib/ active_record/con nection_adapters/abstract_adapter.rb:202:in `rescue in log'' C:/Ruby192/lib/ruby/gems/1.9.1/gems/activerecord-3.0.3/lib/ active_record/con nection_adapters/abstract_adapter.rb:194:in `log'' C:/Ruby192/lib/ruby/gems/1.9.1/gems/activerecord-3.0.3/lib/ active_record/con nection_adapters/mysql_adapter.rb:289:i...
2008 Mar 07
3
Boolean circles..
...: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 `catch_schema_changes...
2008 Jul 30
2
Mysql "lock wait timeout" tuning
...these errors intermittently: ### Mysql::Error: Lock wait timeout exceeded; try restarting transaction: UPDATE `chairs` SET `published_at` = NULL, `updated_at` = ''2008-07-30 15:31:05'' WHERE `id` = 2147 [RAILS_ROOT]/vendor/rails/activerecord/lib/active_record/ connection_adapters/abstract_adapter.rb:147:in `log'' ### The root issue is probably slowness in the Rails app, which causes some long transactions. We''re trying to find some way to tune around this while the code is refactored; does anyone know a way to optimize mysql for this issue? --~--~---------~--~----~-----...
2012 Dec 12
1
#8498 postgres_adapter fix for disable_referential_integrity
.../.../jenkins/.rvm/gems/ruby-1.9.3-p194@my_application/gems/activerecord-3.2.9/lib/active_record/connection_adapters/postgresql_adapter.rb:652:in `block in execute'' from /.../jenkins/.rvm/gems/ruby-1.9.3-p194@my_application/gems/activerecord-3.2.9/lib/active_record/connection_adapters/abstract_adapter.rb:280:in `block in log'' from /.../jenkins/.rvm/gems/ruby-1.9.3-p194@my_application/gems/activesupport-3.2.9/lib/active_support/notifications/instrumenter.rb:20:in `instrument'' from /.../jenkins/.rvm/gems/ruby-1.9.3-p194@my_application/gems/activerecord-3.2.9/lib/active_...
2011 Jan 06
4
Not able to insert value in rails console
...t][ODBC SQL Se rver Driver][SQL Server]Incorrect syntax near ''LIMIT''.: SELECT [users].[id] FROM [users] WHERE (LOWER([users].[login]) = LOWER(N''test'')) LIMIT 1 from c:/Ruby/lib/ruby/gems/1.9.1/gems/activerecord-3.0.3/lib/active_reco rd/connection_adapters/abstract_adapter.rb:202:in `rescue in log'' from c:/Ruby/lib/ruby/gems/1.9.1/gems/activerecord-3.0.3/lib/active_reco rd/connection_adapters/abstract_adapter.rb:194:in `log'' from c:/Ruby/lib/ruby/gems/1.9.1/gems/activerecord-sqlserver-adapter-3.0 .5/lib/active_record/connection_ada...
2006 Feb 25
5
MySQL client ran out of memory
...app. I just exported the databae from dreamhost and imported it on textdrive for my rails app. Mysql::Error: MySQL client ran out of memory: SELECT COUNT(*) FROM comments WHERE (comments.listing_id = 2666) /usr/local/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/connection_adapters/abstract_adapter.rb:88:in `log'' /usr/local/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/connection_adapters/mysql_adapter.rb:180:in `execute'' /usr/local/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/connection_adapters/mysql_adapter.rb:322:in `select'' /usr...
2008 Jan 15
6
SQLite concurrency, SQLite3::BusyException
....save end t.join end end --------------------------------- C:\test>ruby script\runner ''PersonUpdator.start'' c:/ruby/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/commands/runner.rb:47: c:/ruby/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/ connection_adapters/abstract_adapter.rb:150:in `log'': SQLite3::BusyException: database is locked: UPDATE people (ActiveRecord::StatementInvalid) SET "name" = ''Michael'', "lock_version" = 16 WHERE id = 1 AND "lock_version" = 15...