Sha256: cf4bb578dea0cbd5402fe991c8616dcfb428dea5f14d007514b488bbd218401b

Contents?: true

Size: 573 Bytes

Versions: 1

Compression:

Stored size: 573 Bytes

Contents

RubyAppAr
=========

[RubyApp](http://github.com/kostya/ruby-app) 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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ruby-app-ar-0.1.2 README.md