search for: pasquier

Displaying 3 results from an estimated 3 matches for "pasquier".

Did you mean: alquier
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/.
2007 Feb 14
5
FormTestHelper should change hidden fields
Railsoids: FormTestHelper rules. It tests your response.body form at the same time as it triggers your action, with all the parameters in that form. This obviously improves quality. But it took issue with this: submit_form ''validate_stuff'' do |form| form[''IBhidden''] = ''validate'' end The field IBhidden is a hidden field. To be