You can use an array to build a URL instead of a URL helper (e.g.
edit_admin_user_path(event.user), which would fail when an event has no
link_to_if event.user, event.user_name, [:edit, :admin, event.user]
APIdock release: IRON STEVE (1.4)
If you have any comments, ideas or feedback, feel free to contact us at
APIdock copyright Nodeta Oy 2008-2014
Flowdock is a collaboration tool for technical teams. Version control, project management, deployments and your group chat in one place.