Hi every body...
please look at the below queries...>> Order.limit(5)
>> Order.limit(5).offset(4).except(:offset)
Both the queries will give same result. If then; the use of .except here
is needless.
My question is that where that(.except) could be more useful. can u
please explain me a context for that.
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.