search for: simonpasqui

Displaying 2 results from an estimated 2 matches for "simonpasqui".

Did you mean: simonpasquier
2006 Mar 22
2
Test Failure: <0.01> expected but was <0.01>
I have two database fields, and then I have a method which shows the difference. It''s simply def ev_diff ev_push - ev_fold end The value of ev_push is 0.26, value of ev_fold is 0.05, so the diff is obviously 0.01. I have an assertion written as: assert_equal 0.01, stats.ev_diff Which fails..but I have no clue why. The failure message follow: 1) Failure:
2006 Feb 17
1
foreign key support in mysql adapter
Hi! I''m using Migration to define my database schema and these "ALTER TABLE t ADD FOREIGN KEY..." look really ugly - that''s why I wanted to ask it would be possible to simply add add_foreign_key method to ActiveRecord? Are there any reasons this isn''t yet implemented? Greetings, Esad -- Posted via http://www.ruby-forum.com/.