search for: m003125

Displaying 1 result from an estimated 1 matches for "m003125".

Did you mean: 1003125
2006 Jun 20
4
Searching ActiveRecord sets
Hey all, I''m learning AR and I''m trying to find the best way to search an ActiveRecord set in order to make a conditional statement decision, something like .has_value?(value) but for a multi-dimensional array like an AR set of like 100 rows. I know I can do something like this: results = Table.find_by_sql("...") for result in results if