Skip to content
Browse files

Merge pull request #3320 from sunaku/space-align

fix inconsistent alignment in Gemfile generator
  • Loading branch information...
2 parents e759c88 + d32a90b commit 098c95abcb2b101bde0d55ddd5e348fda0ec8f49 @josevalim josevalim committed Oct 15, 2011
Showing with 6 additions and 6 deletions.
  1. +6 −6 railties/lib/rails/generators/app_base.rb
View
12 railties/lib/rails/generators/app_base.rb
@@ -150,19 +150,19 @@ def rails_gemfile_entry
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
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"

0 comments on commit 098c95a

Please sign in to comment.
Something went wrong with that request. Please try again.