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-2015
Check out how the team behind APIdock connects Pivotal Tracker, GitHub and group chat to one workflow.