typo :(
| 14 | 15 | |
|---|---|---|
| 46 | 46 | conditions = [] |
| 47 | 47 | conditions << self.send(:sanitize_sql, ["culprit_id = ?", options[:culprit]]) if options.keys.include? :culprit |
| 48 | 48 | conditions << self.send(:sanitize_sql, ["referenced_id = ?", options[:referenced]]) if options.keys.include? :referenced |
| 49 | conditions << self.send(:santize_sql, ["activity_loggable_id = ?", options[:activity_loggable]]) if options.keys.include? :activity_loggable | |
| 49 | conditions << self.send(:sanitize_sql, ["activity_loggable_id = ?", options[:activity_loggable]]) if options.keys.include? :activity_loggable | |
| 50 | 50 | self.find(:all, :conditions => conditions, :limit => limit) |
| 51 | 51 | # rescue |
| 52 | 52 | # raise "I couldn't run the find with the options you gave me" |
