search for: abstract_unit

Displaying 13 results from an estimated 13 matches for "abstract_unit".

2008 Jan 16
0
[CruiseControl] RubyOnRails build 8649 failed
...quot;.\"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'' ./test/../lib/active_record/connection_adapters/postgresql_adapter.rb:418:in `update_sql'' ./test/../lib/active_record/connection_adapters/abstract/databa...
2006 Jun 11
2
Problem with Acts_As_Attachment
...m technoweenie, but when I run the tests I get an error (running windoze) -- create_table(:attachments, {:force=>true}) c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require__'': no such file to load -- sqlite (MissingSourceFile) I found the require statement in test/abstract_unit.rb ActiveRecord::Base.establish_connection(config[ENV[''DB''] || ''sqlite'']) I have used console to check ENV and there is no DB in it... My database is mysql and works in my app. Anyone know what I need to do to run the tests? Cheers -------------- next part -...
2005 Dec 18
1
Informix adapter testing
...cord::Base:Class (NoMethodError) from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require__'' from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require'' from ./test/../lib/active_record.rb:37 from ./test/abstract_unit.rb:5:in `require'' from ./test/abstract_unit.rb:5 from ./test/aaa_create_tables_test.rb:2:in `require'' from ./test/aaa_create_tables_test.rb:2 from /usr/local/lib/ruby/gems/1.8/gems/rake-0.6.2/lib/rake/rake_test_loader.rb:5:in `load''...
2006 Jan 09
5
form with more than 1 file upload field saves 0 byte file for 1 file field
Im using the file_column plugin to upload files from my application. The problem I am encountering is that I have a form with 2 file upload fields and when I submnit that form with files selected, I would get a message from the browser(Firefox) saying that a script on the page is taking a long time to execute and whether I want to cancel it or continue. Whichever option I choose, only 1 file(PDF)
2006 May 15
4
Anyone got a copy of File_Column trunk
Anyone able to post a copy of the svn trunk of file_column? The website''s been down for the past few days, and I''ve only got the last release (0.31, I think), which is missing a whole load of goodies. Tx
2005 Dec 15
2
Rails 1.0 & RJS Templates
...g error: (in /Users/jason/projects/workarea/biolexis/trunk/rails/vendor/plugins/javascript_generator_templates) /opt/local/bin/ruby -Ilib:lib "/opt/local/lib/ruby/gems/1.8/gems/rake-0.6.2/lib/rake/rake_test_loader.rb" "test/controller/new_render_test.rb" ./test/controller/../abstract_unit.rb:10:in `require'': No such file to load -- action_controller (LoadError) from ./test/controller/../abstract_unit.rb:10 from ./test/controller/new_render_test.rb:1:in `require'' from ./test/controller/new_render_test.rb:1 from /opt/local/lib/ruby/g...
2007 May 31
0
Rails AR/SQLServer Unit Test: [6912] failed (but getting better)
...e), posts.id) AS tmp1 ORDER BY title DESC, id DESC) AS tmp2 ORDER BY title, id ./test/../lib/active_record/connection_adapters/abstract_adapter.rb:135:in `log'' ./test/../lib/active_record/connection_adapters/sqlserver_adapter.rb:321:in `execute_without_counting'' ./test/abstract_unit.rb:71:in `execute'' ./test/../lib/active_record/connection_adapters/sqlserver_adapter.rb:517:in `select'' ./test/../lib/active_record/connection_adapters/abstract/database_statements.rb:7:in `select_all'' ./test/../lib/active_record/associations.rb:1319:in `selec...
2005 Mar 07
6
Automatic timestamping in join tables [596]
Hi, A few days ago I submitted the following ticket http://dev.rubyonrails.com/ticket/596 asking that ActiveRecord::Timestamp also apply for the join tables of habtm. The answer was that it was left for milestone 1.x, and since I think that without this functionality rails 1.0 would be incomplete, I''m raising the issue here to discuss it. My use case is very simple, I
2006 Jun 23
0
help... can''t run ActiveRecord unit tests to test bug fix
...ema_mysql.rb ./../lib/active_record/base.rb:246: undefined method `cattr_accessor'' for ActiveRecord::Base:Class (NoMethodError) from /opt/local/lib/ruby/site_ruby/1.8/rubygems/ custom_require.rb:21:in `require'' from ./../lib/active_record.rb:37 from ./abstract_unit.rb:5 from active_schema_mysql.rb:1 It can''t seem to find the definition for #cattr_accessor which is defined in the activesupport gem. This is Rails 1.1.2 comprised of AR 1.14.2, ActiveSupport 1.3.1, etc. running on OSX 10.4.6 & Ruby 1.8.4 from darwinports. Any ideas ho...
2006 Jan 02
0
problem with ruby gem activate when trying to run actionpack tests
...m d:/ruby/lib/ruby/site_ruby/1.8/rubygems.rb:161:in `activate'' from d:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:23:in `re quire'' from d:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.2.4/lib/active_suppo rt/dependencies.rb:214:in `require'' from ./controller/../abstract_unit.rb:7 from d:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:18:in `re quire__'' from d:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:18:in `re quire'' from controller/base_test.rb:1 Rails itself runs fine for me. I''ve been looking for information on the w...
2007 Oct 07
0
Rails AR/Oracle Unit Test: [7769] failed (getting worse)
...<= 1) where raw_rnum_ > 0 ./test/../lib/active_record/connection_adapters/abstract_adapter.rb:137:in `log'' /usr/pkg/ruby184/lib/ruby/gems/1.8/gems/activerecord-1.15.1/lib/active_record/connection_adapters/oracle_adapter.rb:222:in `execute_without_counting'' ./test/abstract_unit.rb:70:in `execute'' /usr/pkg/ruby184/lib/ruby/gems/1.8/gems/activerecord-1.15.1/lib/active_record/connection_adapters/oracle_adapter.rb:489:in `select'' ./test/../lib/active_record/connection_adapters/abstract/database_statements.rb:7:in `select_all_without_query_cache'&...
2006 Oct 16
6
Rails AR/Oracle Unit Test: [5310] failed (but getting better)
...racle_adapter.rb:234:in `select_all'' ./test/../lib/active_record/associations.rb:1188:in `select_limited_ids_list'' ./test/associations_test.rb:1796:in `test_select_limited_ids_list'' 4) Failure: test_not_resaved_when_unchanged(HasOneAssociationsTest) [./test/abstract_unit.rb:48:in `assert_queries'' ./test/associations_test.rb:351:in `test_not_resaved_when_unchanged'']: 0 instead of 1 queries were executed. <1> expected but was <0>. 5) Error: test_lock_with_custom_column_without_default_sets_version_to_zero(OptimisticLockingTest):...
2009 Jul 20
9
Upgrade server to run on Rails 2.3.2/F11
Note that one of the 8 patches (#6) will be sent separately in reply to this email, as some of the replaced lines are too long, so git won't let me send the email. However, there is nothing wrong with that patch, and it should be applied in the sequence listed below. Note also that I assume this will be tested on a clean f11 install, rather than an upgrade of an existing ovirt server