Displaying 2 results from an estimated 2 matches for "db_definitions".
Did you mean:
add_definitions
2005 Nov 26
4
activerecord rake test_mysql
...am following the steps on this page:
http://dev.rubyonrails.org/
Here''s what I did (using mysql 5.0.15-nt):
created 2 databases:
activerecord_unittest
activerecord_unittest2
created 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...
2006 Feb 01
5
Sybase ctlib Adapter
...''s been a saving grace to have a good starting
point (thanks Will!).
http://dev.rubyonrails.org/ticket/2030
The big issue I''m facing right now is reconciling fixtures and the
insert() method. I couldn''t tell for certain from looking at the SQL
in test/fixtures/db_definitions whether the unit test tables should
have (1) auto-generated id''s (IDENTITY in Sybase) or (2) app-
generated id''s. Near as I could tell, the SQL for db2, mysql,
postgresql, and sqlserver use #1, while firebird, oci, and sqlite use
#2. Just guessing tho.
In case #1, insert...