search for: mythicalorm

Displaying 1 result from an estimated 1 matches for "mythicalorm".

2007 Nov 16
9
Challenge
...roller, model, and router changes. Submit it as a diff of this pastie. # # Degree of difficulty: # Don''t complain that doing /monkeys/koko is dumb, or what happens # when there are two monkeys named koko. # # Submit your diffs to #merb # router: r.resources :monkeys class Monkey < MythicalORM end class Monkeys < Application def show(id) @monkey = Monkey.find(id) end def create(monkey) @monkey = Monkey.create(monkey) redirect url(:monkey, at monkey) end end