aboutsummaryrefslogtreecommitdiffstats
path: root/railties
diff options
context:
space:
mode:
authorJosé Valim <jose.valim@gmail.com>2011-10-15 01:56:30 -0700
committerJosé Valim <jose.valim@gmail.com>2011-10-15 01:56:30 -0700
commit098c95abcb2b101bde0d55ddd5e348fda0ec8f49 (patch)
treebccdcf456c37c71a82741e88b2e56624875469bc /railties
parente759c8882a990606bb4aee8a643431ebe544c69f (diff)
parentd32a90b9b77d3f7d8098ee6ddb5bf62cb8da0ed7 (diff)
downloadrails-098c95abcb2b101bde0d55ddd5e348fda0ec8f49.tar.gz
rails-098c95abcb2b101bde0d55ddd5e348fda0ec8f49.tar.bz2
rails-098c95abcb2b101bde0d55ddd5e348fda0ec8f49.zip
Merge pull request #3320 from sunaku/space-align
fix inconsistent alignment in Gemfile generator
Diffstat (limited to 'railties')
-rw-r--r--railties/lib/rails/generators/app_base.rb12
1 files changed, 6 insertions, 6 deletions
diff --git a/railties/lib/rails/generators/app_base.rb b/railties/lib/rails/generators/app_base.rb
index 294563ad06..134d86fab0 100644
--- a/railties/lib/rails/generators/app_base.rb
+++ b/railties/lib/rails/generators/app_base.rb
@@ -150,7 +150,7 @@ module Rails
gem 'rails', '#{Rails::VERSION::STRING}'
# Bundle edge Rails instead:
- # gem 'rails', :git => 'git://github.com/rails/rails.git'
+ # gem 'rails', :git => 'git://github.com/rails/rails.git'
GEMFILE
end
end
@@ -158,11 +158,11 @@ module Rails
def gem_for_database
# %w( mysql oracle postgresql sqlite3 frontbase ibm_db sqlserver jdbcmysql jdbcsqlite3 jdbcpostgresql )
case options[:database]
- when "oracle" then "ruby-oci8"
- when "postgresql" then "pg"
- when "frontbase" then "ruby-frontbase"
- when "mysql" then "mysql2"
- when "sqlserver" then "activerecord-sqlserver-adapter"
+ when "oracle" then "ruby-oci8"
+ when "postgresql" then "pg"
+ when "frontbase" then "ruby-frontbase"
+ when "mysql" then "mysql2"
+ when "sqlserver" then "activerecord-sqlserver-adapter"
when "jdbcmysql" then "activerecord-jdbcmysql-adapter"
when "jdbcsqlite3" then "activerecord-jdbcsqlite3-adapter"
when "jdbcpostgresql" then "activerecord-jdbcpostgresql-adapter"