File: //usr/local/rvm/gems/ruby-2.5.9/doc/activerecord-6.1.4.1/ri/ActiveRecord/FinderMethods/take-i.ri
U:RDoc::AnyMethod[iI" take:ETI"%ActiveRecord::FinderMethods#take;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"RGives a record (or N records if a parameter is supplied) without any implied ;TI"Border. The order will depend on the database implementation. ;TI"2If an order is supplied it will be respected.;To:RDoc::Markup::BlankLine o:RDoc::Markup::Verbatim; [I"MPerson.take # returns an object fetched by SELECT * FROM people LIMIT 1
;TI"PPerson.take(5) # returns 5 objects fetched by SELECT * FROM people LIMIT 5
;TI"0Person.where(["name LIKE '%?'", name]).take;T:@format0:
@fileI"1lib/active_record/relation/finder_methods.rb;T:0@omit_headings_from_table_of_contents_below000[ I"(limit = nil);T@FI"FinderMethods;TcRDoc::NormalModule00