Jeff Kreeftmeijer
programmer · Member of 1 project: Ruby on Rails
Jeff Kreeftmeijer's latest activity
Saturday, March 12 2011
-
- Tag changed from activerecord rails3, bug, delete_all, edge, patch, tested to activerecord, delete_all, patch
-
- Assigned user set to Jeff Kreeftmeijer
Akira's patch fixes the issue for me, but the attached test fails because
Pet.joins(:toys).where(:toys => {:name => 'Bone'}).countreturns0.Also, I'm not a gr...
Wednesday, March 09 2011
-
Jeff Kreeftmeijer commented at 12:14 PMWill do, somehow I thought I wasn't supposed to do that for docrails patches. Thanks :)
-
Jeff Kreeftmeijer commented at 10:21 AMI pushed a patch to docrails: https://github.com/lifo/docrails/commit/e05e9979075b37342b7c88e557d...
What do you think? I'll mark this ticket as resolved when ...
Tuesday, March 08 2011
-
Jeff Kreeftmeijer commented at 11:46 AMWhile adding a note to the guides telling users not to use
allow_nilorallow_blank, I found this:Using +:allow_nil+ with +validates_presence_of+ allows for +... -
Jeff Kreeftmeijer commented at 10:46 AM:allow_nilandallow_blanknow both et ignored on presence validations. Andrew's right, if we want to do some kind of zero-length validation that allowsnilfor...
Monday, March 07 2011
-
- State changed from new to open
- Assigned user set to Jeff Kreeftmeijer
- Importance changed from to Low
I did a quick test and it seems you're right: https://gist.github.com/858816
allow_blankdoesn't do anything when validating presence, which seems sensible to m...
Sunday, March 06 2011
-
- Importance changed from to Low
Hi Marc-André,
I cleaned up your ticket a bit. Please be sure to wrap inline code in backticks, since starting a line with a
#will turn it into a header. :)
Saturday, March 05 2011
-
- State changed from open to wontfix
Hi William,
After talking to Josh about this, we came to this conclusion:
The
uobject doesn't get reloaded because it already existed before the model changed ...
Tuesday, March 01 2011
-
- State changed from needs-more-info to open
Thanks Will, I tried to reproduce again:
# app/models/user.rb class User < ActiveRecord::Base def reloaded? false end end$ script/rails c Loading d...