module ActiveRecord::Core::ClassMethods

def find_by!(*args) # :nodoc:

:nodoc:
def find_by!(*args) # :nodoc:
  find_by(*args) || where(*args).raise_record_not_found_exception!
end