Ruby On Rails - Framework Comparison
WebappFrameworkComparison / Scratchbook / RubyOnRailsBack to Snip <-- Previous Change | Next Change -->
| Diff Summary | |||||
|---|---|---|---|---|---|
| Title | |||||
| Date | 2007-11-18 13:42:14 | 2007-11-18 13:43:29 | |||
| Editor | Herbert Poul | Herbert Poul | |||
| Tags | |||||
| 2007-11-18 13:42:14 by Herbert Poul | 2007-11-18 13:43:29 by Herbert Poul | ||||
|---|---|---|---|---|---|
| 117 | 117 | ||||
| 118 | end | 118 | end | ||
| 119 | 119 | ||||
| 120 | ## Controller | 120 | ## Controller | ||
| 121 | 121 | ||||
| t | 122 | i show new/create here.. the exact same looks edit | t | 122 | i show new/create here.. but edit/update looks EXA |
| > | /update | > | CTLY the same ... | ||
| 123 | 123 | ||||
| 124 | def new | 124 | def new | ||
| 125 | @bar = Bar.new | 125 | @bar = Bar.new | ||
| 126 | @beers = Beer.find_all | 126 | @beers = Beer.find_all | ||
| 127 | end | 127 | end | ||


