Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Remove generated whitespace #2216

Merged
merged 1 commit into from

3 participants

@martinisoft

The 3.1 App Generator leaves leading whitespace for selected optional requires. Its an aesthetic change, but good for consistency.

@spastorino spastorino merged commit 5ec3430 into rails:3-1-stable
@arunagw
Collaborator

It was added here ae94305 because some of the tests were failing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Jul 23, 2011
  1. @martinisoft
This page is out of date. Refresh to see the latest.
View
6 railties/lib/rails/generators/rails/app/templates/config/application.rb
@@ -4,12 +4,12 @@
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"
-<%= comment_if :skip_sprockets %> require "sprockets/railtie"
-<%= comment_if :skip_test_unit %> require "rails/test_unit/railtie"
+<%= comment_if :skip_sprockets %>require "sprockets/railtie"
+<%= comment_if :skip_test_unit %>require "rails/test_unit/railtie"
<% end -%>
# If you have a Gemfile, require the default gems, the ones in the
Something went wrong with that request. Please try again.