Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More jruby gem for database fixes #1809

Merged

Conversation

nicksieger
Copy link
Contributor

These changes update the JRuby/JDBC database support to be a little friendlier.

  • You will be able to use rails new app with no arguments and get a proper JRuby/sqlite3-based Rails app.
  • rails new app -d sqlite3 and rails new app -d jdbcsqlite3 will do the same thing.
  • Add a rails new app -d jdbc template for all other databases.

tenderlove added a commit that referenced this pull request Jun 21, 2011
@tenderlove tenderlove merged commit 15f09c5 into rails:3-1-stable Jun 21, 2011
@drnic
Copy link
Contributor

drnic commented Jun 21, 2011

This is fantastic.

@cmeiklejohn
Copy link
Contributor

+1

@drnic
Copy link
Contributor

drnic commented Jun 21, 2011

I did not know I could do 🔥!

@cmeiklejohn
Copy link
Contributor

That's amazing.

@willchinelato
Copy link

Great!

@arunagw
Copy link
Member

arunagw commented Jun 22, 2011

Tests added here :-)

#1813

@@ -9,7 +9,7 @@
# And be sure to use new-style password hashing:
# http://dev.mysql.com/doc/refman/5.0/en/old-client.html
development:
adapter: jdbcmysql
adapter: mysql
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have modified database.rake before to work db:create and other database operations with "jdbcmysql" and other jdbc* stuff. That time i was not sure that only "mysql" will also work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

7 participants