Amy Hoy's talk at RailsConf

Posted by Michael Ivey Tue, 27 Jun 2006 16:39:19 GMT

Amy has posted the slides from her very fun talk on scaffolding addiction.

I hope people didn't skip it because they felt they knew the material already. It was really funny, even if you don't use scaffolding and know how to build more complex apps. It also had kittens. Who doesn't like kittens?

I also picked up an interesting idiom. When you have a select list for multiple members of a has_may, in the controller you can do:

@submitted_kittens = Kitten.find(params[:kittens])
@jar.kittens.delete(@jar.kittens - @submitted_kittens)
@jar.kittens << @submitted_kittens - @jar.kittens

I'm wondering how this compares to

@jar.kittens_ids = params[:kittens]

and may need to fiddle with it a bit to see. Either way, Amy's looks cooler.

Posted in  | Tags ,  | no comments | no trackbacks