search for: native_mysql

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

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
...trate the bug, fix it, and then submit a patch to the maintainers. However, I can''t run the AR tests. I followed the instructions in RUNNING_UNIT_TESTS but it generates an error immediately /opt/local/lib/ruby/gems/1.8/gems/activerecord-1.14.2/test cremes$ ruby -I "connections/native_mysql" active_schema_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...
2005 Nov 26
4
activerecord rake test_mysql
...d 1 user: rails (giving all priveleges to both databases) ran $RAILS_HOME/activerecord\test\fixtures\db_definitions\mysql.sql on activerecord_unittest ran $RAILS_HOME/activerecord\test\fixtures\db_definitions\mysql2.sql on activerecord_unittest2 modified $RAILS_HOME/activerecord\test\connections\native_mysql/connect.rb accordingly I removed all my local changes, so I''m running with a pristine copy of the current trunk. cd $RAILS_HOME/activerecord rake test_mysql below I posted the output I received. Is this correct or should all tests pass? Thanks, Ben (in C:/ruby/projects/rails/projects/...
2010 Jun 11
5
Issues creating tables in mysql tests
...om) PS: the whole output: pupeno@lennon:~/Projects/rails/rails/activerecord$ rake test_mysql --trace (in /Users/pupeno/Projects/rails/rails/activerecord) ** Invoke test_mysql (first_time) ** Execute test_mysql /Users/pupeno/.rvm/rubies/ruby-1.8.7-p174/bin/ruby -w -I"lib:test:test/connections/native_mysql" "/Users/pupeno/.rvm/gems/ruby-1.8.7-p174@global/gems/rake-0.8.7/lib/rake/rake_test_loader.rb" "test/cases/active_schema_test_mysql.rb" "test/cases/adapter_test.rb" "test/cases/aggregations_test.rb" "test/cases/ar_schema_test.rb" "test/cas...