Method: ActiveNode::FinderMethods#last!

Defined in:
lib/active_node/graph/finder_methods.rb

#last!Object

Same as last but raises ActiveRecord::RecordNotFound if no record is found. Note that last! accepts no arguments.



169
170
171
# File 'lib/active_node/graph/finder_methods.rb', line 169

def last!
  last or raise RecordNotFound
end