method
first!
v6.1.3.1 -
Show latest stable
- Class:
ActiveRecord::FinderMethods
first!()public
Same as #first but raises ActiveRecord::RecordNotFound if no record is found. Note that #first! accepts no arguments.
first!()Same as #first but raises ActiveRecord::RecordNotFound if no record is found. Note that #first! accepts no arguments.