bg fix
| 18 | 19 | |
|---|---|---|
| 43 | 43 | # options are :culprit, :referenced, :activity_loggable, :limit |
| 44 | 44 | def self.find_with(options={}) |
| 45 | 45 | limit = (options.delete(:limit) || 10) |
| 46 | conditions = build_sql_conditional_for(options) | |
| 46 | conditions = self.build_sql_conditional_for(options) | |
| 47 | 47 | self.find(:all, :conditions => conditions, :limit => limit) |
| 48 | 48 | # rescue |
| 49 | 49 | # raise "I couldn't run the find with the options you gave me, sorry" |
