nerdrew
Not a member
nerdrew's latest activity
Friday, September 19 2008
-
nerdrew commented at 3:22 AMI wish there was a way to edit comments...
Here it is again.
class <<ActiveRecord::Base private def find_associated_records(ids, reflection, preload_o... -
nerdrew commented at 3:21 AMCan someone test this for me? I have some custom ActiveRecord improvements (nested condition hashes and includes), but it seems to work for me.
@@@ruby
class <<...
Thursday, September 18 2008
-
nerdrew commented at 8:03 PMWhy is this stale now? I'm still seeing the same bug (I think) in edge. It could be that I'm using the conditions hash wrong, but I don't know how else I'd do i...
Wednesday, August 20 2008
-
nerdrew commented at 4:25 PMIt shows up on the right side above the list of people watching this ticket for me. If it didn't go through I can resend it. ar_conditions.rb
-
nerdrew commented at 12:45 AMI've already done something so I can use the conditions as I've described them. I've attached the relevant part of my plugin for this.
Tuesday, June 10 2008
-
nerdrew commented at 11:21 PMAnother thing I'd like to see in active record conditions hashes is the ability to use conditions on included tables. Also I'd like these tables to be automati...
-
-
nerdrew commented at 10:46 PMAnother approach would be:
Person.find(:all, :conditions => { :age.gt => 30, :name.like => "%a%", :or => { :place => 'Boca', :occupation => 'Chef'} }) #=> peo...
Saturday, June 07 2008
-
-
nerdrew created the ticket at 1:06 AMGiven a model with a has_many that has a condition, a find with this has_many association included will fail.
class Company < ActiveRecord::Base has_many( ...