molten-trunk/molten5_withgrid/app/models/case_report.rb
def editable?(contact)
    if contact_id == contact.id
      true
    else
      logger.info "contact [#{contact.id}] isn't the contact for this case report #{contact_id}"
      false
    end
  end
# Used to determine if the given +contact+ can modify this report.
Used to determine if the given +contact+ can modify this report.
Used to determine if the given + contact + can modify this report .
def editable?(contact)
    if contact_id == contact.id
      true
    else
      logger.info "contact [#{contact.id}] isn't the contact for this case report #{contact_id}"
      false
    end
  end
def editable? ( contact ) if contact_id == contact . id true else logger . info "contact [#{contact.id}] isn't the contact for this case report #{contact_id}" false end end
Used to determine if the given +contact+ can modify this report.
Used to determine if the given + contact + can modify this report .
contact