Rails TinyDS Plugin
This is an integration plugin for TinyDS that provides certain ActiveRecord method calls for Rails 2.3.5 generated scaffold.
Work with AR Scaffold
Add the following to your Gemfile
Add the following to the initializer in config/environment.rb
require 'tiny_ds' require 'rails_tiny_ds'
Generate TinyDS Models
Install as an MRI gem to use these rake tasks:
script/generate td_model script/generate rspec_td_model
./script/generate td_model article title:string summary:text -f ./script/generate td_model author name:string age:integer -—skip-timestamps
These are based on generators in rails_datamapper gem
– Author: John Woodell, firstname.lastname@example.org