debugging
| 17 | 18 | |
|---|---|---|
| 45 | 45 | limit = (options.delete(:limit) || 10) |
| 46 | 46 | conditions = build_sql_conditional_for(options) |
| 47 | 47 | self.find(:all, :conditions => conditions, :limit => limit) |
| 48 | rescue | |
| 49 | raise "I couldn't run the find with the options you gave me, sorry" | |
| 48 | # rescue | |
| 49 | # raise "I couldn't run the find with the options you gave me, sorry" | |
| 50 | 50 | end |
| 51 | 51 | |
| 52 | 52 | private |
