Skip to content

Sample Rails 5.0 App backed by SQL Server and JRuby

Notifications You must be signed in to change notification settings

JesseChavez/mssql_sam50

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sample Rails App used to test the activerecord-jdbc-alt-adapter

App specs:

  • rails 5.0.7.2
  • SQL Server database

this app has a MODE environment variable which is usually used to connect to a specific database.

for example when you want to use JRuby:

Switch to JRuby

MODE=jruby bin/rails db:create

the above command will create a database called sam50_jruby_development

then:

MODE=jruby bin/rails db:migrate


MODE=jruby bin/rails c

For CRuby, switch to Cruby:

MODE=cruby bin/rails db:create

the above command will create a database called sam50_cruby_development

then:

MODE=cruby bin/rails db:migrate


MODE=cruby bin/rails c

About

Sample Rails 5.0 App backed by SQL Server and JRuby

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published