java - Using activerecord migrations for a non-rails application, what are the steps? -



java - Using activerecord migrations for a non-rails application, what are the steps? -

i have java application, , want utilize rails migrations this.

what steps working?

i have done far:

1. installed jruby 2. installed next gems: rspec, cucumber, rake

do install rails or activerecord?

any suggestions on folder construction store rakefile? i'm assuming rake work on same path rakefile is?

how tell db connection information?

here's succinct article believe answers of questions: http://community.active.com/blogs/productdev/2011/02/28/using-activerecord-3-without-rails

it talks using ar sinatra you'll see adapted problem.

java ruby-on-rails activerecord jruby

Comments

Popular posts from this blog

How do I check if an insert was successful with MySQLdb in Python? -

delphi - blogger via idHTTP : error 400 bad request -

postgresql - ERROR: operator is not unique: unknown + unknown -