{"name":"gist: 979472","desc":"","actor":"cycle7","url":"https://gist.github.com/979472","actor_gravatar":"11f4060be672d06c639581afc6faeb41","snippet":"I have 2 models post and rb, shown below.\n\nThen a form for both creating new posts and editing existing ones. Note I override to_param in user so that my urls look like /user/myusername/posts/50 instead of /user/99/posts/50","action":"update"}