choonkeat / better_scaffold
- Source
- Commits
- Network (0)
- Issues (0)
- Downloads (0)
- Wiki (1)
- Graphs
-
Branch:
master
commit 8c484670e3861377410ca853754f52be307bb1ae
tree 6228a78c8a2b5f782789fd695932137e27fb7886
parent 12e258985336fbb8196f6161b150c3aecc541240
tree 6228a78c8a2b5f782789fd695932137e27fb7886
parent 12e258985336fbb8196f6161b150c3aecc541240
| name | age | message | |
|---|---|---|---|
| |
LICENSE | ||
| |
README | ||
| |
Rakefile | ||
| |
generators/ | ||
| |
init.rb | ||
| |
install.rb | ||
| |
lib/ | ||
| |
tasks/ | ||
| |
test/ | ||
| |
uninstall.rb |
README
BetterScaffold ============== A modified CRUD generator for Rails, more for solving my own needs of * generating nested resource with proper routes, e.g. "users/purchase" will generate "user_purchase_path" * using will_paginate in "index" action * using web_sg_form_builder for more consistent, semantically marked up forms (and creating those "_form" partials) Try 1. ./script/generate better_scaffold orders/purchase order_id:integer created_at:datetime amount:decimal 2. Visit http://localhost:3000/orders/1/purchases

