public
Fork of dfischer/rspec-haml-scaffold-generator
Description: A Haml Scaffolding Generator for RSpec
Homepage: http://blog.citrusbyte.com/2008/3/11/what-s-that-rspec-haml-scaffolds-yes-it-is
Clone URL: git://github.com/mrflip/rspec-haml-scaffold-generator.git
name age message
file .gitignore Wed May 06 16:36:04 -0700 2009 Added a new gitignore [zachinglis]
file LICENSE Wed May 06 16:28:36 -0700 2009 Turned project into a gem [zachinglis]
file README.rdoc Sun May 10 06:07:52 -0700 2009 Integrated READMEs [mrflip]
file Rakefile Wed May 06 16:28:36 -0700 2009 Turned project into a gem [zachinglis]
file VERSION.yml Wed May 06 16:34:17 -0700 2009 Version bump to 1.0.0 [zachinglis]
file application_controller_template.rb Wed Apr 15 07:51:00 -0700 2009 Abstracted basic functionality into Application... [mrflip]
directory generators/ Tue May 12 05:05:59 -0700 2009 Title uses helper method [mrflip]
file install.rb Mon Mar 10 15:27:18 -0700 2008 initial commit of files [Daniel Fischer]
file rspec-haml-scaffold-generator.gemspec Wed May 06 16:36:23 -0700 2009 Version is now 1.0.0 [zachinglis]
file rspec_haml_scaffold_generator_test.rb Wed May 06 16:28:36 -0700 2009 Turned project into a gem [zachinglis]
README.rdoc

RSpec Haml Scaffold Generator

This is an uber version of the RSpec Scaffold Generator, the following things have been added:

Support for Haml instead of erb Nested routes (nested tests/migrations)

Installation:

  sudo gem install zachinglis-rspec-haml-scaffold

Examples:

  ./script/generate rspec_haml_scaffold post # no attributes, view will be anemic
  ./script/generate rspec_haml_scaffold post attribute:string attribute:boolean # this is actually broken at the moment, don't do this !!! Feel free to patch it

Credits

  * Daniel Fischer - http://danielfischer.com
  * Zach Inglis - http://zachinglis.com

*************************

  On First Install

*************************

  • Please paste the last part of
      application_controller_template.rb
    

    into your

      app/controllers/application_controller_template.rb
    
  • The templates use the ‘title’ helper from nifty_layout,
      git://github.com/ryanb/nifty-generators.git