active_record_model_and_rspec_enhanced_templates

ActiveRecord generator and RSpec templates that add some basic functionality to the model and its spec.

Installation

Add to your Gemfile

gem 'active_record_model_and_rspec_enhanced_templates'

Then bundle as usual.

Usage

Next time you run

rails generate model SomeModel ...

or

rails generate scaffold SomeModel ...

you will get the model and the specs with the named functionalities.

Contributing to active_record_model_and_rspec_enhanced_templates

Copyright © 2014 Dmitri Koulikoff. See LICENSE.txt for further details.