aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails/all.rb
diff options
context:
space:
mode:
Diffstat (limited to 'railties/lib/rails/all.rb')
-rw-r--r--railties/lib/rails/all.rb15
1 files changed, 15 insertions, 0 deletions
diff --git a/railties/lib/rails/all.rb b/railties/lib/rails/all.rb
new file mode 100644
index 0000000000..a1ad72e98d
--- /dev/null
+++ b/railties/lib/rails/all.rb
@@ -0,0 +1,15 @@
+require "rails"
+
+%w(
+ active_model
+ active_record
+ action_controller
+ action_view
+ action_mailer
+ active_resource
+).each do |framework|
+ begin
+ require "#{framework}/rails"
+ rescue LoadError
+ end
+end \ No newline at end of file