Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #1315 from ardavis/master

Removed unnecessary space in application.rb
  • Loading branch information...
commit badc72f3e645b4176b04a4f5181a7f8a04a32f09 2 parents bf9272b + 60ca8d9
@josevalim josevalim authored
View
2  railties/lib/rails/generators/app_base.rb
@@ -128,7 +128,7 @@ def include_all_railties?
end
def comment_if(value)
- options[value] ? '#' : ''
+ options[value] ? '# ' : ''
end
def rails_gemfile_entry
View
2  railties/lib/rails/generators/rails/app/templates/config/application.rb
@@ -4,7 +4,7 @@
require 'rails/all'
<% else -%>
# Pick the frameworks you want:
-<%= comment_if :skip_active_record %> require "active_record/railtie"
+<%= comment_if :skip_active_record %>require "active_record/railtie"
require "action_controller/railtie"
require "action_mailer/railtie"
require "active_resource/railtie"
Please sign in to comment.
Something went wrong with that request. Please try again.