Hi everyone, I''m looking for a way to limit the number of results returned by the select genereted when I use the following syntax: User.posts.each { |post| ... } I''m not sure those are dynamic finders per se, but I''m not familier with the correct term. any way, I''d like to only select the first 5 posts withut using find_by_sql or find(:all, :limit => 5). Is that possible? Thanks, Ehud -- 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---