Skip to content

pyrat/scaffy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Scaffy Generator

An opinionated cut down scaffold generator. This uses haml for templates and includes tests in shoulda with factory_girl as the object factory. Nothing fancy, nothing special. Just a really fast way to use scaffolding in an extendable manner.

Install

Rails 3 (in your Gemfile)

  gem ‘scaffy’
  bundle install
  

Usage

Simple scaffold

rails g scaffy post title:string content:text

Scaffold with added layout and flash messages.

rails g scaffy post title:string content:text --layout=true

Scaffold with namespace

rails g car make:string model:string year:integer --namespace=admin

Then to install the dependent gems:

  bundle install

Dependencies

Credits

flutie

About

Opinionated scaffold generator (haml and test/unit)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages