lib/catissue/domain/specimen_protocol.rb
def add_defaults_local
      super
      self.title ||= short_title
      self.short_title ||= title
      self.start_date ||= Java::JavaUtil::Date.new
    end
def add_defaults_local
      super
      self.title ||= short_title
      self.short_title ||= title
      self.start_date ||= Java::JavaUtil::Date.new
    end
def add_defaults_local super self . title ||= short_title self . short_title ||= title self . start_date ||= Java :: JavaUtil :: Date . new end
Sets the defaults if necessary. The start date is set to now. The title is
 set to the short title.
Sets the defaults if necessary . The start date is set to now . The title is set to the short title .