There are times when I would like to use ActiveRecord outside of a
Rails application, but I find it rather daunting that I would have to
write all the rake tasks for migrating and so forth myself. Which
means I would have to take time to learn Rake before I can get to what
I am actually trying to do. Does anyone know of a gem that recreates
most or all of the database related tasks for ActiveRecord without the
other nonessential things?
On Sun, Jan 29, 2012 at 11:53 PM, Kevin [email protected] wrote:
There are times when I would like to use ActiveRecord outside of a
Rails application, but I find it rather daunting that I would have to
write all the rake tasks for migrating and so forth myself. Which
means I would have to take time to learn Rake before I can get to what
I am actually trying to do. Does anyone know of a gem that recreates
most or all of the database related tasks for ActiveRecord without the
other nonessential things?
I’ve had success using
https://github.com/thuss/standalone-migrationsbefore.
Also, Rake isn’t very difficult, it’s a shallow DSL on top of normal
Ruby,
there’s only a handfull of things to know for 90% of use cases.
On Mon, Jan 30, 2012 at 2:41 AM, Josh C. [email protected]
wrote:
I’ve had success using https://github.com/thuss/standalone-migrationsbefore.
Also, Rake isn’t very difficult, it’s a shallow DSL on top of normal Ruby,
there’s only a handfull of things to know for 90% of use cases.
Thanks for the tip.