Specifies the number of rows to skip before returning rows.
Should be used with order.
# File activerecord/lib/active_record/relation/query_methods.rb, line 636 def offset(value) spawn.offset!(value) end
for some reason this method only works on relation objects, not directly on an AR class.
there’s an closed ticket for this here http://rails.lighthouseapp.com/projects/8994/tickets/5688-modeloffsetxlimitx-unknown-offset-method-exception and should be resolved in the next release of rails.