instance method
require_frameworks
Ruby on Rails 2.3.18
Since v2.2.3 Last seen in v2.3.18Available in: v2.2.3 v2.3.18
Signature
require_frameworks()
Requires all frameworks specified by the Configuration#frameworks list. By default, all frameworks (Active Record, Active Support, Action Pack, Action Mailer, and Active Resource) are loaded.
Source
# File railties/lib/initializer.rb, line 267
def require_frameworks
configuration.frameworks.each { |framework| require(framework.to_s) }
rescue LoadError => e
# Re-raise as RuntimeError because Mongrel would swallow LoadError.
raise e.to_s
end
Defined in railties/lib/initializer.rb line 267
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in Rails::Initializer