claudiob (at gmail)
Not a member
claudiob (at gmail)'s latest activity
Friday, March 13 2009
2227
batches: :conditions for each are applied to each Model.find within the each ...
was created
in Ruby on Rails
-
claudiob (at gmail) created the ticket at 9:56 AMConsider the following code:
# app/models/song.rb class Song < ActiveRecord::Base def self.print_pairs(name) Song.each(:conditions => ['name = ?', n...