method

require

rails latest stable - Class: Object

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v2.1.0) is shown here.

require(file, *extras)
public

No documentation available.

# File activesupport/lib/active_support/dependencies.rb, line 508
  def require(file, *extras) #:nodoc:
    Dependencies.new_constants_in(Object) { super }
  rescue Exception => exception  # errors from required file
    exception.blame_file! file
    raise
  end