0.0
No commit activity in last 3 years
No release in over 3 years
RubyApp extension, adds ActiveRecord support
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 0
>= 0

Runtime

 Project Readme

RubyAppAr

RubyApp extension, adds ActiveRecord support.

Install

Use generator:

ruby-app new app --ar

OR Manually

Add to Gemfile:

gem 'ruby-app'
gem 'ruby-app-ar'

Add to Rakefile:

load "ruby-app/tasks.rake"
load "ruby-app-ar/tasks.rake"

Create

db/migrate
config/database.yml

Using

Use as it is in Rails. But use APP_ENV for specify environment.

Examples:

$ rake db:create APP_ENV=test
$ rake db:migrate

Generate migration:

$ ruby-app migration bla