method
first!
rails 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.