No commit activity in last 3 years
No release in over 3 years
A collection of Rails generators reflecting my personal coding preferences
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

= 3.0.0
 Project Readme

Ingoweiss Generators

A collection of generators

ingoweiss:scaffold

A scaffold generator. Presently there are only view differences to the standard Rails scaffold generator that allow the generator to be driven by the foam meta generator:

  • ‘scope’ option (—scope=posts comments), adding support for deeply nested resources
  • ‘skip_routes’ option (—skip-routes) for skipping the injection of routes into ‘config/routes.rb’
  • controllers are using the Rails 3 ‘respond_with’ style
# Example usage:
rails generate ingoweiss:scaffold comments body:text --scope=posts

This will generate scaffold for a ‘comments’ resource at ‘/posts/123/comments’

Installation

gem install ingoweiss_generators

Copyright (c) 2010 Ingo Weiss, released under the MIT license