I'm a bit confused by active record, it just seems to fire the query at any time you stop, ie.
@model.where( :store_id => @sid )
Which is fine, but what if I want to build a query like this:
query = @model.where( :store_id => @sid )
if(some_condition)
query.offset(50)
and then execute the query (not actually what I'm doing but a very simple example). Is there a way to put together the query in steps and then tell it to execute?