Chris Barnett
Not a member
Chris Barnett's latest activity
Saturday, February 07 2009
-
Chris Barnett commented at 10:23 PMLooks like that commit may not have fixed the problem.
See the attached patch, it just adds a "shared.html.erb~" file to actionpack's test fixtures, which cause...
Monday, January 19 2009
Friday, December 05 2008
-
Chris Barnett commented at 1:33 PMI should also point out there is a bit of history on this. ActiveRecord actually used to return 0.0 for these calculations: http://dev.rubyonrails.org/ticke...
...
-
Chris Barnett commented at 7:25 AM-1
The current return value for these calculations on empty sets is nil, which can be very useful:
@product.reviews.average(:rating) || "not yet reviewed"W...
Tuesday, August 19 2008
-
- Tag changed from 2.1, activerecord, bug, serialize to 2.1, activerecord, bug, edge, serialize
I can confirm this test fails for both 2.1 and edge.
The reason it fails is that attribute serialization was not written to support serialization of Strings.
...
Monday, August 18 2008
-
Chris Barnett commented at 5:04 AMThe :joins parameter adds an INNER JOIN clause to the query, which causes the database to filter out clients without a mailing_address.
Replacing :joins with :...
Tuesday, July 08 2008
-
Chris Barnett commented at 4:58 AMI think this is a good idea, but I'm not sure about the implementation.
I've always been able to do
<%= link_to "Somewhere" %>To create a placeholder for ...
Wednesday, June 18 2008
-
Chris Barnett commented at 7:54 AMI don't think this is the best way to fix this problem. What happens when you want to specify the 'id', 'lang', 'style', or 'title' attributes?
Is there a mor...