public Method

Module.const_missing(class_id)

Use const_missing to autoload associations so we don’t have to require_association when using single-table inheritance.

Source Code

# File active_support/dependencies.rb, line 452
def const_missing(class_id)
  Dependencies.load_missing_constant self, class_id
end
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.