app/models/user.rb
# Sets the visibility to invisible and the vetted to untrusted on all DataObjects submitted by this user.  NOT
# USED ANYWHERE.  This is a convenience method for developers to use.  ...particularly where they are submitting
# lots of text objects for testing, but don't want the rest of the world to see them when they are done.
#
# No return value; will raise exceptions if things fail.
Sets the visibility to invisible and the vetted to untrusted on all DataObjects submitted by this user.  NOT
USED ANYWHERE.  This is a convenience method for developers to use.  ...particularly where they are submitting
lots of text objects for testing, but don't want the rest of the world to see them when they are done.

No return value; will raise exceptions if things fail.
Sets the visibility to invisible and the vetted to untrusted on all DataObjects submitted by this user . NOT USED ANYWHERE . This is a convenience method for developers to use . ... particularly where they are submitting lots of text objects for testing but don ' t want the rest of the world to see them when they are done . No return value ; will raise exceptions if things fail .
def hide_all_submitted_datos
    all_submitted_datos.each do |dato|
      dato.users_data_object.vetted = Vetted.untrusted
      dato.users_data_object.visibility = Visibility.get_invisible
      dato.users_data_object.save!
    end
  end
def hide_all_submitted_datos all_submitted_datos . each do | dato | dato . users_data_object . vetted = Vetted . untrusted dato . users_data_object . visibility = Visibility . get_invisible dato . users_data_object . save! end end
Sets the visibility to invisible and the vetted to untrusted on all DataObjects submitted by this user.
Sets the visibility to invisible and the vetted to untrusted on all DataObjects submitted by this user .