app/forms/concerns/waste_carriers_engine/can_clear_address_finder_error.rb
def clear_temp_os_places_error
        self.os_places_error = transient_registration.temp_os_places_error

        transient_registration.update_attributes(temp_os_places_error: nil)
      end
# Check if the user reached this page through an Address finder error.
# Then wipe the temp attribute as we only need it for routing
Check if the user reached this page through an Address finder error.
Then wipe the temp attribute as we only need it for routing
Check if the user reached this page through an Address finder error . Then wipe the temp attribute as we only need it for routing
def clear_temp_os_places_error
        self.os_places_error = transient_registration.temp_os_places_error
        transient_registration.update_attributes(temp_os_places_error: nil)
      end
def clear_temp_os_places_error self . os_places_error = transient_registration . temp_os_places_error transient_registration . update_attributes ( temp_os_places_error : nil ) end
Check if the user reached this page through an Address finder error.
Check if the user reached this page through an Address finder error .