ModalScaffold
Usage
rails new sample_app
cd sample_app
rake rails:template LOCATION=https://github.com/tb/rails-templates/raw/master/jquery.rb
rake rails:template LOCATION=https://github.com/tb/rails-templates/raw/master/jquery_colourbox.rb
rails plugin install git://github.com/tb/modal_scaffold.git
rails g modal_scaffold Article title:string body:text published_at:datetime
Add in application layout:
<%= stylesheet_link_tag 'colorbox' %>
<%= javascript_include_tag 'jquery.colorbox' %>
Copyright © 2010 Tomasz Bak, released under the MIT license