Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kostya/ruby-app-ar
RubyApp extension, adds ActiveRecord support.
https://github.com/kostya/ruby-app-ar
Last synced: 20 days ago
JSON representation
RubyApp extension, adds ActiveRecord support.
- Host: GitHub
- URL: https://github.com/kostya/ruby-app-ar
- Owner: kostya
- License: mit
- Created: 2012-06-22T19:04:06.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2021-06-17T09:34:14.000Z (over 3 years ago)
- Last Synced: 2024-09-24T11:15:59.307Z (about 2 months ago)
- Language: Ruby
- Homepage:
- Size: 15.6 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
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.ymlUsing
-----Use as it is in Rails. But use APP_ENV for specify environment.
Examples:
$ rake db:create APP_ENV=test
$ rake db:migrateGenerate migration:
$ ruby-app migration bla