Interesting Things
- Rails has a handy convention/method-hook for turning an object into an URL parameter: implement
to_param. ActiveRecord already does this by havingto_paramreturn the result ofid.
to_param. ActiveRecord already does this by having to_param return the result of id.