In the .Net universe I can use an arbitrary SELECT statement and load many rows into DataTable object. I can then find various DataRows using various field criteria (Name='Jack', Age=34, etc.).
In Ruby on Rails, after doing this to load all employees into memory
rs = Employee.find(:all)
I want to seek a row based an arbitrary criteria.
row = rs.seek(:name => 'Jack')
Does ActiveRow support this? I can't seem to find anything or I'm not using the correct terminology.
If not I'll have to walk all rows and build my own hash tables.