Add a skip_before_action
in your ProfilesController
(or wherever new_profile_path
points to):
class ProfilesController
skip_before_action :fill_in_profile
def new
# …
end
end
I'd love to recommend a link into the Rails API, but neither AbstractController::Callbacks
nor AbstractController::Callbacks::ClassMethods.skip_before_filter
looks promising…