REST the Rails way