make sure url_for works similar to polymorphic_url