sign in or sign up to contribute a scaffold
feedback

ScaffoldHub.org is a collection of Rails scaffold generators contributed by members of the Rails community.

For example you can learn how to pick an rgb color value with the mcolorpicker scaffold, or use a popup calendar with the datepicker scaffold.

To get started you can browse through the scaffolds or click on one of them below:

Technical details:

Use a Scaffold

Add the scaffoldhub gem to your Gemfile:

gem "scaffoldhub"

Install the gem using bunder:

bundle install

Use the "scaffoldhub" command and specify which scaffold you want:

scaffoldhub infinitescroll person name:string

Some scaffolds take a parameter:

scaffoldhub paperclip:avatar person name:string
Contribute a Scaffold

Sign up on this web site

Write a scaffold spec file and your ERB templates:

Scaffoldhub::Specification.new do
  name        'your_scaffold' 
  model       'templates/model.rb'
  migration   'templates/migration.rb'
  controller  'templates/controller.rb'
  etc...
end

Take a screen shot of what your scaffold will look like.

Push your scaffold to this site from the command line:

scaffoldhub push /path/to/scaffold_spec.rb

See how to contribute a scaffold for more details.