Mathieu Arnold
Not a member
Mathieu Arnold's latest activity
Wednesday, April 20 2011
6731
Arel from git seems to have broken "except"
was created
in Ruby on Rails
-
Mathieu Arnold created the ticket at 4:49 PMI was playing with the latest arel, rails and squeel, and I tried a simple thing :
Facture.joins(:devise).sum("montant_ttc / taux")which used to work, but no...
Monday, May 03 2010
Thursday, April 15 2010
Wednesday, April 14 2010
4395
Bug in nested_attributes when the primary key is not "id"
was updated
in Ruby on Rails
-
-
Mathieu Arnold commented at 9:48 PMI had not thought of missing records, in that case, you just need to do a :
association.all(:conditions => {association.primary_key => attribute_ids})As for ...
-
Mathieu Arnold created the ticket at 4:48 PMIn 2ff5f38abb4a44ed5356c34b40d30d446fb63408 a bug was introduced on line 357, in the case the primary key is not called "id".
Example :
create_table 'custome...
Friday, April 09 2010
4356
model.errors.empty? broken
was created
in Ruby on Rails
-
Mathieu Arnold created the ticket at 12:05 PMIn the rails 2.3 docs, we can see in the ActiveRecord::Errors documentation :
empty?()
Returns true if no errors have been added.Which is quite nice to have, b...
Wednesday, December 02 2009
3535
New XSS protections breaks yaml
was created
in Ruby on Rails
-
Mathieu Arnold created the ticket at 2:17 PMThis is correct :
>> ('foo' + 'baar').to_yaml => "--- foobaar\n"This, on the other hand, feels way wrong :
>> ('foo' << 'baar').to_yaml => "--- !str \ns...