Permalink
Browse files

Merge pull request #10722 from jgaskins/patch-1

Add ActiveModel requirement to application.rb
  • Loading branch information...
josevalim committed May 22, 2013
2 parents d6d6376 + ab72774 commit 2d6b71c2d5c456f28d829cd44a3f5bf5495cd669
Showing with 1 addition and 0 deletions.
  1. +1 −0 railties/lib/rails/generators/rails/app/templates/config/application.rb
@@ -4,6 +4,7 @@
require 'rails/all'
<% else -%>
# Pick the frameworks you want:
+require "active_model/railtie"
<%= comment_if :skip_active_record %>require "active_record/railtie"
require "action_controller/railtie"
require "action_mailer/railtie"

0 comments on commit 2d6b71c

Please sign in to comment.