Fixed singular resource form_for bug