SYMBOL INDEX (2395 symbols across 604 files) FILE: app/blueprints/api/v1/session_blueprint.rb class Api::V1::SessionBlueprint (line 1) | class Api::V1::SessionBlueprint < Blueprinter::Base FILE: app/callbacks/case_contact_metadata_callback.rb class CaseContactMetadataCallback (line 1) | class CaseContactMetadataCallback method after_commit (line 2) | def after_commit(case_contact) method set_status (line 11) | def set_status(changes, case_contact) method update_status (line 16) | def update_status(changes, case_contact) method update_metadata (line 21) | def update_metadata(record, new_data) FILE: app/channels/application_cable/channel.rb type ApplicationCable (line 1) | module ApplicationCable class Channel (line 2) | class Channel < ActionCable::Channel::Base; end FILE: app/channels/application_cable/connection.rb type ApplicationCable (line 1) | module ApplicationCable class Connection (line 2) | class Connection < ActionCable::Connection::Base; end FILE: app/components/badge_component.rb class BadgeComponent (line 1) | class BadgeComponent < ViewComponent::Base method initialize (line 6) | def initialize(text:, type:, rounded: false, margin: true) method style (line 13) | def style FILE: app/components/dropdown_menu_component.rb class DropdownMenuComponent (line 3) | class DropdownMenuComponent < ViewComponent::Base method initialize (line 6) | def initialize(menu_title:, icon_name: nil, hide_label: false, render_... method render_icon (line 14) | def render_icon method icon? (line 20) | def icon? method render? (line 24) | def render? method button_label (line 28) | def button_label FILE: app/components/form/hour_minute_duration_component.rb class Form::HourMinuteDurationComponent (line 3) | class Form::HourMinuteDurationComponent < ViewComponent::Base method initialize (line 4) | def initialize(form:, hour_value:, minute_value:) FILE: app/components/form/multiple_select/item_component.rb class Form::MultipleSelect::ItemComponent (line 3) | class Form::MultipleSelect::ItemComponent < ViewComponent::Base FILE: app/components/form/multiple_select_component.rb class Form::MultipleSelectComponent (line 3) | class Form::MultipleSelectComponent < ViewComponent::Base method initialize (line 4) | def initialize(form:, name:, options:, selected_items:, render_option_... FILE: app/components/local_time_component.rb class LocalTimeComponent (line 3) | class LocalTimeComponent < ViewComponent::Base method initialize (line 6) | def initialize(format:, unix_timestamp:, time_zone:) method local_time (line 12) | def local_time method specific_time (line 17) | def specific_time FILE: app/components/modal/body_component.rb class Modal::BodyComponent (line 3) | class Modal::BodyComponent < ViewComponent::Base method initialize (line 4) | def initialize(text: nil, klass: nil, render_check: true) method body_content (line 10) | def body_content method render? (line 18) | def render? FILE: app/components/modal/footer_component.rb class Modal::FooterComponent (line 3) | class Modal::FooterComponent < ViewComponent::Base method initialize (line 4) | def initialize(klass: nil, render_check: true) method render? (line 9) | def render? FILE: app/components/modal/group_component.rb class Modal::GroupComponent (line 3) | class Modal::GroupComponent < ViewComponent::Base method initialize (line 8) | def initialize(id:, klass: nil, render_check: true) method render? (line 14) | def render? FILE: app/components/modal/header_component.rb class Modal::HeaderComponent (line 3) | class Modal::HeaderComponent < ViewComponent::Base method initialize (line 4) | def initialize(id:, text: nil, icon: nil, klass: nil, render_check: true) method header_content (line 12) | def header_content method render? (line 21) | def render? FILE: app/components/modal/open_button_component.rb class Modal::OpenButtonComponent (line 3) | class Modal::OpenButtonComponent < ViewComponent::Base method initialize (line 4) | def initialize(target:, text: nil, klass: nil, icon: nil, render_check... method open_button (line 12) | def open_button method render? (line 18) | def render? FILE: app/components/modal/open_link_component.rb class Modal::OpenLinkComponent (line 3) | class Modal::OpenLinkComponent < ViewComponent::Base method initialize (line 4) | def initialize(target:, text: nil, icon: nil, klass: nil, render_check... method open_link (line 12) | def open_link method render? (line 18) | def render? FILE: app/components/notification_component.rb class NotificationComponent (line 3) | class NotificationComponent < ViewComponent::Base method initialize (line 6) | def initialize(notification:) method muted_display (line 10) | def muted_display FILE: app/components/sidebar/group_component.rb class Sidebar::GroupComponent (line 3) | class Sidebar::GroupComponent < ViewComponent::Base method initialize (line 9) | def initialize(title:, icon:, render_check: true) method render? (line 19) | def render? FILE: app/components/sidebar/link_component.rb class Sidebar::LinkComponent (line 3) | class Sidebar::LinkComponent < ViewComponent::Base method initialize (line 11) | def initialize(title:, path:, icon: nil, nav_item: true, render_check:... method before_render (line 20) | def before_render method render? (line 25) | def render? FILE: app/components/truncated_text_component.rb class TruncatedTextComponent (line 3) | class TruncatedTextComponent < ViewComponent::Base method initialize (line 5) | def initialize(text = nil, label: nil) FILE: app/controllers/additional_expenses_controller.rb class AdditionalExpensesController (line 1) | class AdditionalExpensesController < ApplicationController method create (line 4) | def create method destroy (line 15) | def destroy method additional_expense_params (line 26) | def additional_expense_params FILE: app/controllers/all_casa_admins/casa_admins_controller.rb class AllCasaAdmins::CasaAdminsController (line 1) | class AllCasaAdmins::CasaAdminsController < AllCasaAdminsController method new (line 4) | def new method create (line 8) | def create method edit (line 19) | def edit method update (line 23) | def update method activate (line 35) | def activate method deactivate (line 46) | def deactivate method set_casa_org (line 59) | def set_casa_org FILE: app/controllers/all_casa_admins/casa_orgs_controller.rb class AllCasaAdmins::CasaOrgsController (line 1) | class AllCasaAdmins::CasaOrgsController < AllCasaAdminsController method show (line 2) | def show method new (line 7) | def new method create (line 11) | def create method casa_org_params (line 36) | def casa_org_params FILE: app/controllers/all_casa_admins/dashboard_controller.rb class AllCasaAdmins::DashboardController (line 1) | class AllCasaAdmins::DashboardController < AllCasaAdminsController method show (line 2) | def show FILE: app/controllers/all_casa_admins/patch_notes_controller.rb class AllCasaAdmins::PatchNotesController (line 1) | class AllCasaAdmins::PatchNotesController < AllCasaAdminsController method index (line 3) | def index method create (line 10) | def create method update (line 21) | def update method destroy (line 31) | def destroy method set_patch_note (line 44) | def set_patch_note method patch_note_params (line 49) | def patch_note_params FILE: app/controllers/all_casa_admins/sessions_controller.rb class AllCasaAdmins::SessionsController (line 3) | class AllCasaAdmins::SessionsController < Devise::SessionsController FILE: app/controllers/all_casa_admins_controller.rb class AllCasaAdminsController (line 1) | class AllCasaAdminsController < ApplicationController method new (line 8) | def new method edit (line 12) | def edit method create (line 16) | def create method update (line 42) | def update method update_password (line 62) | def update_password method all_casa_admin_params (line 89) | def all_casa_admin_params method password_params (line 93) | def password_params method set_custom_error_heading (line 97) | def set_custom_error_heading method reset_custom_error_heading (line 101) | def reset_custom_error_heading FILE: app/controllers/android_app_associations_controller.rb class AndroidAppAssociationsController (line 1) | class AndroidAppAssociationsController < ApplicationController method index (line 4) | def index FILE: app/controllers/api/v1/base_controller.rb class Api::V1::BaseController (line 1) | class Api::V1::BaseController < ActionController::API method authenticate_user! (line 5) | def authenticate_user! method not_found (line 15) | def not_found FILE: app/controllers/api/v1/users/sessions_controller.rb class Api::V1::Users::SessionsController (line 1) | class Api::V1::Users::SessionsController < Api::V1::BaseController method create (line 2) | def create method destroy (line 11) | def destroy method user_params (line 29) | def user_params method load_resource (line 33) | def load_resource FILE: app/controllers/application_controller.rb class ApplicationController (line 1) | class ApplicationController < ActionController::Base method after_sign_in_path_for (line 25) | def after_sign_in_path_for(resource_or_scope) method after_sign_out_path_for (line 29) | def after_sign_out_path_for(resource_or_scope) method set_active_banner (line 38) | def set_active_banner method handle_short_url (line 50) | def handle_short_url(url_list) method deliver_sms_to (line 65) | def deliver_sms_to(resource, body_msg) method sms_acct_creation_notice (line 94) | def sms_acct_creation_notice(resource_name, sms_status) method store_referring_location (line 105) | def store_referring_location method redirect_back_to_referer (line 111) | def redirect_back_to_referer(fallback_location:) method force_json_format (line 119) | def force_json_format method store_user_location! (line 123) | def store_user_location! method storable_location? (line 128) | def storable_location? method set_current_user (line 132) | def set_current_user method set_timeout_duration (line 136) | def set_timeout_duration method set_current_organization (line 142) | def set_current_organization method not_authorized (line 146) | def not_authorized method unsupported_media_type (line 160) | def unsupported_media_type method log_and_reraise (line 172) | def log_and_reraise(error) method check_unconfirmed_email_notice (line 179) | def check_unconfirmed_email_notice(user) FILE: app/controllers/banners_controller.rb class BannersController (line 1) | class BannersController < ApplicationController method index (line 5) | def index method new (line 11) | def new method edit (line 17) | def edit method dismiss (line 21) | def dismiss method create (line 26) | def create method update (line 41) | def update method destroy (line 54) | def destroy method set_banner (line 63) | def set_banner method banner_params (line 67) | def banner_params method deactivate_alternate_active_banner (line 71) | def deactivate_alternate_active_banner FILE: app/controllers/bulk_court_dates_controller.rb class BulkCourtDatesController (line 1) | class BulkCourtDatesController < ApplicationController method new (line 6) | def new method create (line 12) | def create method build_court_date_with_error_message (line 37) | def build_court_date_with_error_message method build_court_dates (line 43) | def build_court_dates(case_group) method create_court_dates (line 49) | def create_court_dates(court_dates) FILE: app/controllers/casa_admins_controller.rb class CasaAdminsController (line 1) | class CasaAdminsController < ApplicationController method index (line 8) | def index method edit (line 13) | def edit method update (line 17) | def update method new (line 35) | def new method create (line 40) | def create method activate (line 68) | def activate method deactivate (line 92) | def deactivate method resend_invitation (line 111) | def resend_invitation method change_to_supervisor (line 118) | def change_to_supervisor method redirect_to_casa_admin_edition_page (line 127) | def redirect_to_casa_admin_edition_page(error) method set_admin (line 133) | def set_admin method update_casa_admin_params (line 137) | def update_casa_admin_params method learning_hours_checked? (line 141) | def learning_hours_checked? FILE: app/controllers/casa_cases_controller.rb class CasaCasesController (line 1) | class CasaCasesController < ApplicationController method index (line 7) | def index method show (line 15) | def show method new (line 32) | def new method edit (line 37) | def edit method create (line 42) | def create method update (line 68) | def update method deactivate (line 88) | def deactivate method reactivate (line 110) | def reactivate method copy_court_orders (line 132) | def copy_court_orders method set_casa_case (line 144) | def set_casa_case method casa_case_params (line 154) | def casa_case_params method casa_case_create_params (line 167) | def casa_case_create_params method casa_case_update_params (line 174) | def casa_case_update_params method set_contact_types (line 178) | def set_contact_types method case_contact_csv_name (line 183) | def case_contact_csv_name(case_contacts) method court_date_unknown? (line 190) | def court_date_unknown? FILE: app/controllers/casa_org_controller.rb class CasaOrgController (line 1) | class CasaOrgController < ApplicationController method edit (line 16) | def edit method update (line 20) | def update method set_casa_org (line 41) | def set_casa_org method casa_org_update_params (line 47) | def casa_org_update_params method set_contact_type_data (line 66) | def set_contact_type_data method set_hearing_types (line 71) | def set_hearing_types method set_judges (line 75) | def set_judges method set_learning_hour_types (line 79) | def set_learning_hour_types method set_sent_emails (line 83) | def set_sent_emails method set_learning_hour_topics (line 87) | def set_learning_hour_topics method set_contact_topics (line 91) | def set_contact_topics method set_custom_org_links (line 95) | def set_custom_org_links method set_placement_types (line 99) | def set_placement_types method set_active_storage_url_options (line 103) | def set_active_storage_url_options FILE: app/controllers/case_assignments_controller.rb class CaseAssignmentsController (line 1) | class CaseAssignmentsController < ApplicationController method create (line 5) | def create method destroy (line 32) | def destroy method unassign (line 39) | def unassign method show_hide_contacts (line 62) | def show_hide_contacts method reimbursement (line 73) | def reimbursement method case_assignment_parent (line 84) | def case_assignment_parent method after_action_path (line 92) | def after_action_path(resource) method case_assignment_params (line 100) | def case_assignment_params method load_case_assignment (line 104) | def load_case_assignment method load_existing_case_assignment (line 114) | def load_existing_case_assignment method existing_case_assignment (line 123) | def existing_case_assignment method handle_successful_assignment (line 127) | def handle_successful_assignment(msg) method handle_failed_assignment (line 133) | def handle_failed_assignment(msg) FILE: app/controllers/case_contact_reports_controller.rb class CaseContactReportsController (line 3) | class CaseContactReportsController < ApplicationController method index (line 6) | def index method report_params (line 20) | def report_params method convert_radio_options_to_boolean (line 40) | def convert_radio_options_to_boolean(parameters) method string_to_boolean (line 46) | def string_to_boolean(value) FILE: app/controllers/case_contacts/case_contacts_new_design_controller.rb class CaseContacts::CaseContactsNewDesignController (line 1) | class CaseContacts::CaseContactsNewDesignController < ApplicationController method index (line 6) | def index method datatable (line 10) | def datatable method check_feature_flag (line 20) | def check_feature_flag FILE: app/controllers/case_contacts/followups_controller.rb class CaseContacts::FollowupsController (line 1) | class CaseContacts::FollowupsController < ApplicationController method create (line 4) | def create method resolve (line 16) | def resolve method simple_followup_params (line 31) | def simple_followup_params method create_notification (line 35) | def create_notification FILE: app/controllers/case_contacts/form_controller.rb class CaseContacts::FormController (line 1) | class CaseContacts::FormController < ApplicationController method show (line 10) | def show method update (line 18) | def update method set_case_contact (line 45) | def set_case_contact method prepare_form (line 51) | def prepare_form method get_casa_cases (line 64) | def get_casa_cases method get_contact_types (line 70) | def get_contact_types method get_contact_topics (line 86) | def get_contact_topics method group_contact_types_by_name (line 93) | def group_contact_types_by_name(contact_types) method finish_editing (line 97) | def finish_editing method send_reimbursement_email (line 118) | def send_reimbursement_email(case_contact) method update_volunteer_address (line 124) | def update_volunteer_address(case_contact) method create_additional_case_contacts (line 137) | def create_additional_case_contacts(case_contact) method case_contact_params (line 160) | def case_contact_params method remove_nil_draft_ids (line 164) | def remove_nil_draft_ids FILE: app/controllers/case_contacts_controller.rb class CaseContactsController (line 3) | class CaseContactsController < ApplicationController method index (line 11) | def index method drafts (line 15) | def drafts method new (line 21) | def new method edit (line 38) | def edit method destroy (line 43) | def destroy method restore (line 57) | def restore method leave (line 66) | def leave method update_or_create_additional_expense (line 72) | def update_or_create_additional_expense(all_ae_params, cc) method set_contact_types (line 86) | def set_contact_types method additional_expense_params (line 90) | def additional_expense_params method set_case_contact (line 94) | def set_case_contact method build_draft_case_ids (line 99) | def build_draft_case_ids(params, casa_cases) FILE: app/controllers/case_court_orders_controller.rb class CaseCourtOrdersController (line 1) | class CaseCourtOrdersController < ApplicationController method destroy (line 6) | def destroy method set_case_court_order (line 13) | def set_case_court_order FILE: app/controllers/case_court_reports_controller.rb class CaseCourtReportsController (line 3) | class CaseCourtReportsController < ApplicationController method index (line 7) | def index method show (line 12) | def show method generate (line 29) | def generate method date_range_params (line 57) | def date_range_params method case_params (line 61) | def case_params method set_casa_case (line 65) | def set_casa_case method assigned_cases (line 69) | def assigned_cases method generate_report_to_string (line 77) | def generate_report_to_string(casa_case, time_range) method save_report (line 96) | def save_report(report_data, casa_case) method generate_error (line 106) | def generate_error(message) FILE: app/controllers/case_groups_controller.rb class CaseGroupsController (line 1) | class CaseGroupsController < ApplicationController method index (line 5) | def index method new (line 10) | def new method edit (line 15) | def edit method create (line 19) | def create method update (line 30) | def update method destroy (line 40) | def destroy method case_group_params (line 49) | def case_group_params method set_case_group (line 54) | def set_case_group FILE: app/controllers/checklist_items_controller.rb class ChecklistItemsController (line 1) | class ChecklistItemsController < ApplicationController method new (line 6) | def new method create (line 10) | def create method edit (line 20) | def edit method update (line 23) | def update method destroy (line 32) | def destroy method set_checklist_updated_date (line 44) | def set_checklist_updated_date(hearing_type) method authorize_checklist_item (line 48) | def authorize_checklist_item method set_hearing_type (line 52) | def set_hearing_type method set_checklist_item (line 56) | def set_checklist_item method checklist_item_params (line 60) | def checklist_item_params FILE: app/controllers/concerns/accessible.rb type Accessible (line 1) | module Accessible function check_user (line 10) | def check_user FILE: app/controllers/concerns/court_date_params.rb type CourtDateParams (line 1) | module CourtDateParams function sanitized_court_date_params (line 4) | def sanitized_court_date_params(casa_case) function court_date_params (line 16) | def court_date_params(casa_case) FILE: app/controllers/concerns/loads_case_contacts.rb type LoadsCaseContacts (line 1) | module LoadsCaseContacts function load_case_contacts (line 6) | def load_case_contacts function current_organization_groups (line 27) | def current_organization_groups function all_case_contacts (line 35) | def all_case_contacts FILE: app/controllers/concerns/organizational.rb type Organizational (line 1) | module Organizational class UnknownOrganization (line 4) | class UnknownOrganization < StandardError function require_organization! (line 7) | def require_organization! function current_organization (line 11) | def current_organization function current_role (line 15) | def current_role FILE: app/controllers/concerns/users/time_zone.rb type Users (line 1) | module Users type TimeZone (line 2) | module TimeZone function browser_time_zone (line 10) | def browser_time_zone function to_user_timezone (line 17) | def to_user_timezone(time_date) function user_timezone (line 26) | def user_timezone FILE: app/controllers/contact_topic_answers_controller.rb class ContactTopicAnswersController (line 1) | class ContactTopicAnswersController < ApplicationController method create (line 4) | def create method destroy (line 15) | def destroy method contact_topic_answer_params (line 26) | def contact_topic_answer_params FILE: app/controllers/contact_topics_controller.rb class ContactTopicsController (line 1) | class ContactTopicsController < ApplicationController method new (line 6) | def new method edit (line 12) | def edit method create (line 17) | def create method update (line 29) | def update method soft_delete (line 40) | def soft_delete method set_contact_topic (line 53) | def set_contact_topic method contact_topic_params (line 58) | def contact_topic_params FILE: app/controllers/contact_type_groups_controller.rb class ContactTypeGroupsController (line 1) | class ContactTypeGroupsController < ApplicationController method new (line 5) | def new method create (line 10) | def create method edit (line 21) | def edit method update (line 25) | def update method contact_type_group_params (line 36) | def contact_type_group_params method set_contact_type_group (line 40) | def set_contact_type_group FILE: app/controllers/contact_types_controller.rb class ContactTypesController (line 1) | class ContactTypesController < ApplicationController method new (line 5) | def new method create (line 10) | def create method edit (line 21) | def edit method update (line 25) | def update method set_contact_type (line 36) | def set_contact_type method contact_type_params (line 40) | def contact_type_params FILE: app/controllers/court_dates_controller.rb class CourtDatesController (line 1) | class CourtDatesController < ApplicationController method show (line 10) | def show method new (line 25) | def new method edit (line 30) | def edit method create (line 34) | def create method update (line 45) | def update method destroy (line 54) | def destroy method set_casa_case (line 66) | def set_casa_case method set_court_date (line 75) | def set_court_date method generate_report_to_string (line 79) | def generate_report_to_string(court_date, time_zone) FILE: app/controllers/custom_org_links_controller.rb class CustomOrgLinksController (line 1) | class CustomOrgLinksController < ApplicationController method new (line 5) | def new method create (line 10) | def create method edit (line 22) | def edit method update (line 26) | def update method destroy (line 35) | def destroy method set_custom_org_link (line 43) | def set_custom_org_link method custom_org_link_params (line 47) | def custom_org_link_params FILE: app/controllers/dashboard_controller.rb class DashboardController (line 1) | class DashboardController < ApplicationController method show (line 5) | def show method volunteer_with_only_one_active_case? (line 20) | def volunteer_with_only_one_active_case? FILE: app/controllers/emancipation_checklists_controller.rb class EmancipationChecklistsController (line 1) | class EmancipationChecklistsController < ApplicationController method index (line 6) | def index FILE: app/controllers/emancipations_controller.rb class EmancipationsController (line 1) | class EmancipationsController < ApplicationController method show (line 11) | def show method save (line 34) | def save method not_authorized (line 82) | def not_authorized(exception) FILE: app/controllers/error_controller.rb class ErrorController (line 3) | class ErrorController < ApplicationController method index (line 7) | def index method create (line 10) | def create FILE: app/controllers/followup_reports_controller.rb class FollowupReportsController (line 3) | class FollowupReportsController < ApplicationController method index (line 6) | def index FILE: app/controllers/fund_requests_controller.rb class FundRequestsController (line 1) | class FundRequestsController < ApplicationController method new (line 5) | def new method create (line 10) | def create method verify_casa_case (line 24) | def verify_casa_case method parsed_params (line 31) | def parsed_params FILE: app/controllers/health_controller.rb class HealthController (line 1) | class HealthController < ApplicationController method index (line 6) | def index method gc (line 16) | def gc method case_contacts_creation_times_in_last_week (line 24) | def case_contacts_creation_times_in_last_week method monthly_line_graph_data (line 32) | def monthly_line_graph_data method monthly_unique_users_graph_data (line 55) | def monthly_unique_users_graph_data method verify_token_for_gc_stats (line 82) | def verify_token_for_gc_stats FILE: app/controllers/hearing_types_controller.rb class HearingTypesController (line 1) | class HearingTypesController < ApplicationController method new (line 5) | def new method create (line 10) | def create method edit (line 21) | def edit method update (line 25) | def update method set_hearing_type (line 36) | def set_hearing_type method hearing_type_params (line 40) | def hearing_type_params FILE: app/controllers/imports_controller.rb class ImportsController (line 1) | class ImportsController < ApplicationController method index (line 16) | def index method create (line 25) | def create method download_failed (line 52) | def download_failed method failed_csv_service (line 61) | def failed_csv_service(failed_rows: "") method header (line 69) | def header method header_valid? (line 77) | def header_valid?(file_header, import_type) method import_from_csv (line 81) | def import_from_csv(import_type, sms_opt_in, file, org_id) method validate_file (line 103) | def validate_file(file, import_type) method requires_sms_opt_in (line 131) | def requires_sms_opt_in(file, import_type, sms_opt_in) method import_contains_phone_numbers (line 139) | def import_contains_phone_numbers(file) FILE: app/controllers/judges_controller.rb class JudgesController (line 1) | class JudgesController < ApplicationController method new (line 5) | def new method create (line 10) | def create method edit (line 21) | def edit method update (line 25) | def update method set_judge (line 36) | def set_judge method judge_params (line 40) | def judge_params FILE: app/controllers/languages_controller.rb class LanguagesController (line 1) | class LanguagesController < ApplicationController method new (line 4) | def new method edit (line 9) | def edit method create (line 13) | def create method update (line 26) | def update method set_language (line 39) | def set_language method language_params (line 43) | def language_params FILE: app/controllers/learning_hour_topics_controller.rb class LearningHourTopicsController (line 3) | class LearningHourTopicsController < ApplicationController method new (line 7) | def new method edit (line 12) | def edit method create (line 16) | def create method update (line 27) | def update method set_learning_hour_topic (line 39) | def set_learning_hour_topic method learning_hour_topic_params (line 43) | def learning_hour_topic_params FILE: app/controllers/learning_hour_types_controller.rb class LearningHourTypesController (line 3) | class LearningHourTypesController < ApplicationController method new (line 7) | def new method edit (line 12) | def edit method create (line 16) | def create method update (line 27) | def update method set_learning_hour_type (line 39) | def set_learning_hour_type method learning_hour_type_params (line 43) | def learning_hour_type_params FILE: app/controllers/learning_hours/volunteers_controller.rb class LearningHours::VolunteersController (line 1) | class LearningHours::VolunteersController < ApplicationController method show (line 5) | def show method set_volunteer (line 12) | def set_volunteer FILE: app/controllers/learning_hours_controller.rb class LearningHoursController (line 1) | class LearningHoursController < ApplicationController method index (line 5) | def index method show (line 10) | def show method new (line 14) | def new method create (line 19) | def create method edit (line 32) | def edit method update (line 36) | def update method destroy (line 47) | def destroy method set_learning_hour (line 56) | def set_learning_hour method learning_hours_params (line 62) | def learning_hours_params method update_learning_hours_params (line 67) | def update_learning_hours_params FILE: app/controllers/learning_hours_reports_controller.rb class LearningHoursReportsController (line 1) | class LearningHoursReportsController < ApplicationController method index (line 4) | def index FILE: app/controllers/mileage_rates_controller.rb class MileageRatesController (line 1) | class MileageRatesController < ApplicationController method index (line 5) | def index method new (line 10) | def new method create (line 15) | def create method edit (line 25) | def edit method update (line 29) | def update method mileage_rate_params (line 41) | def mileage_rate_params method set_mileage_rate (line 45) | def set_mileage_rate FILE: app/controllers/mileage_reports_controller.rb class MileageReportsController (line 5) | class MileageReportsController < ApplicationController method index (line 8) | def index FILE: app/controllers/missing_data_reports_controller.rb class MissingDataReportsController (line 1) | class MissingDataReportsController < ApplicationController method index (line 4) | def index FILE: app/controllers/notes_controller.rb class NotesController (line 1) | class NotesController < ApplicationController method create (line 5) | def create method edit (line 11) | def edit method update (line 15) | def update method destroy (line 22) | def destroy method find_note (line 31) | def find_note method find_volunteer (line 36) | def find_volunteer method note_params (line 41) | def note_params FILE: app/controllers/notifications_controller.rb class NotificationsController (line 1) | class NotificationsController < ApplicationController method index (line 5) | def index method mark_as_read (line 13) | def mark_as_read method set_notification (line 22) | def set_notification FILE: app/controllers/other_duties_controller.rb class OtherDutiesController (line 1) | class OtherDutiesController < ApplicationController method index (line 5) | def index method new (line 17) | def new method create (line 22) | def create method edit (line 33) | def edit method update (line 37) | def update method convert_duration_minutes (line 49) | def convert_duration_minutes method generate_other_duty_list (line 56) | def generate_other_duty_list(volunteers) method no_other_duties_for (line 66) | def no_other_duties_for(volunteers) method other_duty_params (line 76) | def other_duty_params method set_other_duty (line 80) | def set_other_duty FILE: app/controllers/placement_reports_controller.rb class PlacementReportsController (line 1) | class PlacementReportsController < ApplicationController method index (line 4) | def index FILE: app/controllers/placement_types_controller.rb class PlacementTypesController (line 1) | class PlacementTypesController < ApplicationController method new (line 6) | def new method create (line 11) | def create method edit (line 22) | def edit method update (line 26) | def update method set_placement_type (line 38) | def set_placement_type method placement_type_params (line 44) | def placement_type_params FILE: app/controllers/placements_controller.rb class PlacementsController (line 1) | class PlacementsController < ApplicationController method index (line 6) | def index method show (line 10) | def show method new (line 14) | def new method edit (line 19) | def edit method create (line 23) | def create method update (line 34) | def update method destroy (line 44) | def destroy method set_casa_case (line 56) | def set_casa_case method set_placement (line 60) | def set_placement method placement_params (line 64) | def placement_params FILE: app/controllers/preference_sets_controller.rb class PreferenceSetsController (line 1) | class PreferenceSetsController < ApplicationController method table_state (line 4) | def table_state method table_state_update (line 10) | def table_state_update method set_table_name (line 21) | def set_table_name FILE: app/controllers/reimbursements_controller.rb class ReimbursementsController (line 1) | class ReimbursementsController < ApplicationController method new (line 2) | def new method index (line 5) | def index method datatable (line 17) | def datatable method change_complete_status (line 28) | def change_complete_status method apply_filters_to_query (line 43) | def apply_filters_to_query(query) method apply_occurred_at_filters (line 49) | def apply_occurred_at_filters(query) method apply_occurred_at_filter (line 58) | def apply_occurred_at_filter(key, query) method fetch_reimbursements (line 69) | def fetch_reimbursements method fetch_filtered_reimbursements (line 78) | def fetch_filtered_reimbursements(complete_only) method get_normalised_time_for_occurred_at_filter (line 87) | def get_normalised_time_for_occurred_at_filter(key) method reimbursement_params (line 96) | def reimbursement_params method volunteers_for_filter (line 100) | def volunteers_for_filter(reimbursements) FILE: app/controllers/reports_controller.rb class ReportsController (line 1) | class ReportsController < ApplicationController method index (line 4) | def index method export_emails (line 8) | def export_emails FILE: app/controllers/static_controller.rb class StaticController (line 2) | class StaticController < ApplicationController method index (line 9) | def index method register (line 14) | def register method page (line 17) | def page FILE: app/controllers/supervisor_volunteers_controller.rb class SupervisorVolunteersController (line 1) | class SupervisorVolunteersController < ApplicationController method create (line 4) | def create method unassign (line 17) | def unassign method bulk_assignment (line 30) | def bulk_assignment method supervisor_volunteer_params (line 46) | def supervisor_volunteer_params method set_supervisor (line 50) | def set_supervisor method bulk_change_supervisor (line 54) | def bulk_change_supervisor(supervisor, volunteers) method assign_volunteer_to_supervisor (line 66) | def assign_volunteer_to_supervisor(volunteer, supervisor) method unassign_volunteers_supervisor (line 72) | def unassign_volunteers_supervisor(volunteer) FILE: app/controllers/supervisors_controller.rb class SupervisorsController (line 3) | class SupervisorsController < ApplicationController method index (line 13) | def index method new (line 19) | def new method create (line 24) | def create method edit (line 42) | def edit method update (line 50) | def update method activate (line 62) | def activate method deactivate (line 73) | def deactivate method resend_invitation (line 82) | def resend_invitation method change_to_admin (line 89) | def change_to_admin method datatable (line 96) | def datatable method set_supervisor (line 106) | def set_supervisor method all_volunteers_ever_assigned (line 110) | def all_volunteers_ever_assigned method supervisor_has_unassigned_volunteers (line 115) | def supervisor_has_unassigned_volunteers method available_volunteers (line 119) | def available_volunteers method supervisor_values (line 123) | def supervisor_values method supervisor_params (line 127) | def supervisor_params method update_supervisor_params (line 143) | def update_supervisor_params FILE: app/controllers/users/invitations_controller.rb class Users::InvitationsController (line 1) | class Users::InvitationsController < Devise::InvitationsController method edit (line 3) | def edit FILE: app/controllers/users/passwords_controller.rb class Users::PasswordsController (line 1) | class Users::PasswordsController < Devise::PasswordsController method create (line 6) | def create method update (line 21) | def update method render_error (line 36) | def render_error method send_password (line 41) | def send_password method send_password_reset_mail (line 48) | def send_password_reset_mail method send_password_reset_sms (line 52) | def send_password_reset_sms method valid_params? (line 67) | def valid_params?(email, phone_number) method email? (line 76) | def email? method phone_number? (line 80) | def phone_number? method empty_fields_error (line 84) | def empty_fields_error method invalid_phone_number_error (line 91) | def invalid_phone_number_error(error_message) method params_not_present (line 97) | def params_not_present(email, phone_number) method user_exists (line 101) | def user_exists method no_user_found_error (line 105) | def no_user_found_error method create_short_url (line 111) | def create_short_url FILE: app/controllers/users/sessions_controller.rb class Users::SessionsController (line 3) | class Users::SessionsController < Devise::SessionsController FILE: app/controllers/users_controller.rb class UsersController (line 1) | class UsersController < ApplicationController method edit (line 10) | def edit method update (line 14) | def update method add_language (line 23) | def add_language method remove_language (line 42) | def remove_language method update_password (line 54) | def update_password method update_email (line 72) | def update_email method set_language (line 90) | def set_language method set_initial_address (line 94) | def set_initial_address method set_active_casa_admins (line 98) | def set_active_casa_admins method authorize_user_with_policy (line 102) | def authorize_user_with_policy method get_user (line 106) | def get_user method password_params (line 110) | def password_params method update_user_password (line 114) | def update_user_password method email_params (line 118) | def email_params method update_user_email (line 122) | def update_user_email method user_params (line 127) | def user_params method valid_user_password (line 135) | def valid_user_password method set_custom_error_heading (line 143) | def set_custom_error_heading method reset_custom_error_heading (line 147) | def reset_custom_error_heading FILE: app/controllers/volunteers_controller.rb class VolunteersController (line 1) | class VolunteersController < ApplicationController method index (line 7) | def index method show (line 12) | def show method datatable (line 17) | def datatable method new (line 25) | def new method create (line 30) | def create method edit (line 57) | def edit method update (line 62) | def update method activate (line 74) | def activate method deactivate (line 89) | def deactivate method resend_invitation (line 98) | def resend_invitation method send_reactivation_alert (line 109) | def send_reactivation_alert method reminder (line 121) | def reminder method impersonate (line 137) | def impersonate method stop_impersonating (line 143) | def stop_impersonating method set_volunteer (line 150) | def set_volunteer method generate_devise_password (line 154) | def generate_devise_password method create_volunteer_params (line 158) | def create_volunteer_params method update_volunteer_params (line 165) | def update_volunteer_params method volunteers_phone_number (line 171) | def volunteers_phone_number method send_sms_to (line 176) | def send_sms_to(phone_number, body) FILE: app/datatables/application_datatable.rb class ApplicationDatatable (line 1) | class ApplicationDatatable method initialize (line 8) | def initialize(base_relation, params) method as_json (line 13) | def as_json(*) method sanitize (line 23) | def sanitize(data) method filtered_records (line 33) | def filtered_records method paginated_records (line 37) | def paginated_records method additional_filters (line 44) | def additional_filters method search_term (line 48) | def search_term method build_order_clause (line 52) | def build_order_clause method order_by (line 56) | def order_by method order_column_index (line 64) | def order_column_index method order_params (line 68) | def order_params method order_direction (line 72) | def order_direction method limit (line 77) | def limit method offset (line 81) | def offset method bool_filter (line 85) | def bool_filter(filter) method sanitize_sql (line 97) | def sanitize_sql(sql) FILE: app/datatables/case_contact_datatable.rb class CaseContactDatatable (line 3) | class CaseContactDatatable < ApplicationDatatable method initialize (line 11) | def initialize(base_relation, params, current_user) method data (line 20) | def data method filtered_records (line 57) | def filtered_records method raw_records (line 61) | def raw_records method search_filter (line 71) | def search_filter method contact_type_search_subquery (line 88) | def contact_type_search_subquery method order_clause (line 100) | def order_clause FILE: app/datatables/reimbursement_datatable.rb class ReimbursementDatatable (line 1) | class ReimbursementDatatable < ApplicationDatatable method data (line 11) | def data method case_contact_types (line 34) | def case_contact_types(case_contact) method mark_as_complete_path (line 43) | def mark_as_complete_path(case_contact) method raw_records (line 47) | def raw_records method order_clause (line 59) | def order_clause FILE: app/datatables/supervisor_datatable.rb class SupervisorDatatable (line 1) | class SupervisorDatatable < ApplicationDatatable method data (line 10) | def data method raw_records (line 24) | def raw_records method filtered_records (line 28) | def filtered_records method active_filter (line 32) | def active_filter method order_clause (line 43) | def order_clause FILE: app/datatables/volunteer_datatable.rb class VolunteerDatatable (line 1) | class VolunteerDatatable < ApplicationDatatable method data (line 15) | def data method filtered_records (line 37) | def filtered_records method raw_records (line 47) | def raw_records method transition_aged_youth_cases_subquery (line 85) | def transition_aged_youth_cases_subquery method most_recent_attempts_subquery (line 96) | def most_recent_attempts_subquery method contacts_made_in_past_days_subquery (line 108) | def contacts_made_in_past_days_subquery method hours_spent_in_days_subquery (line 122) | def hours_spent_in_days_subquery method order_clause (line 136) | def order_clause method supervisor_filter (line 140) | def supervisor_filter method active_filter (line 152) | def active_filter method transition_aged_youth_filter (line 163) | def transition_aged_youth_filter method extra_languages_filter (line 174) | def extra_languages_filter method search_filter (line 187) | def search_filter method casa_case_number_filter_subquery (line 206) | def casa_case_number_filter_subquery FILE: app/decorators/android_app_association_decorator.rb class AndroidAppAssociationDecorator (line 1) | class AndroidAppAssociationDecorator < ApplicationDecorator FILE: app/decorators/application_decorator.rb class ApplicationDecorator (line 1) | class ApplicationDecorator < Draper::Decorator; end FILE: app/decorators/casa_case_decorator.rb class CasaCaseDecorator (line 1) | class CasaCaseDecorator < Draper::Decorator method case_contacts_ordered_by_occurred_at (line 6) | def case_contacts_ordered_by_occurred_at method case_contacts_latest (line 10) | def case_contacts_latest method case_contacts_latest_before (line 14) | def case_contacts_latest_before(date) method case_contacts_filtered_by_active_assignment_ordered_by_occurred_at (line 18) | def case_contacts_filtered_by_active_assignment_ordered_by_occurred_at method court_report_submission (line 25) | def court_report_submission method court_report_submitted_date (line 29) | def court_report_submitted_date method court_report_select_option (line 33) | def court_report_select_option method date_in_care (line 46) | def date_in_care method duration_in_care (line 51) | def duration_in_care method calendar_next_court_date (line 56) | def calendar_next_court_date method calendar_court_report_due_date (line 61) | def calendar_court_report_due_date method calendar_format (line 66) | def calendar_format(date) method formatted_updated_at (line 70) | def formatted_updated_at method inactive_class (line 74) | def inactive_class method status (line 78) | def status method successful_contacts_this_week (line 82) | def successful_contacts_this_week method successful_contacts_this_week_before (line 87) | def successful_contacts_this_week_before(date) method transition_aged_youth (line 92) | def transition_aged_youth method transition_aged_youth_icon (line 102) | def transition_aged_youth_icon method unsuccessful_contacts_this_week (line 106) | def unsuccessful_contacts_this_week method unsuccessful_contacts_this_week_before (line 111) | def unsuccessful_contacts_this_week_before(date) method emancipation_checklist_count (line 116) | def emancipation_checklist_count method show_contact_type? (line 120) | def show_contact_type?(contact_type_id) method hash_for_multi_select (line 124) | def hash_for_multi_select FILE: app/decorators/case_assignment_decorator.rb class CaseAssignmentDecorator (line 1) | class CaseAssignmentDecorator < Draper::Decorator method unassigned_in_past_week? (line 4) | def unassigned_in_past_week? FILE: app/decorators/case_contact_decorator.rb class CaseContactDecorator (line 1) | class CaseContactDecorator < Draper::Decorator method duration_minutes (line 6) | def duration_minutes method report_duration_minutes (line 18) | def report_duration_minutes method miles_traveled (line 22) | def miles_traveled method reimbursement (line 26) | def reimbursement method contact_made (line 30) | def contact_made method report_contact_made (line 34) | def report_contact_made method subheading (line 38) | def subheading method paragraph_notes (line 48) | def paragraph_notes method contact_types (line 56) | def contact_types method contact_types_comma_separated (line 64) | def contact_types_comma_separated method report_contact_types (line 72) | def report_contact_types method medium_icon_classes (line 76) | def medium_icon_classes method contact_groups (line 93) | def contact_groups method limited_notes (line 102) | def limited_notes method full_notes (line 106) | def full_notes method show_contact_type? (line 110) | def show_contact_type?(contact_type_id) method additional_expenses_count (line 114) | def additional_expenses_count method address_of_volunteer (line 118) | def address_of_volunteer method ambiguous_volunteer_address_message (line 126) | def ambiguous_volunteer_address_message method form_title (line 130) | def form_title method form_page_notes (line 134) | def form_page_notes method form_updated_message (line 142) | def form_updated_message method formatted_hours_and_minutes (line 148) | def formatted_hours_and_minutes(minutes) FILE: app/decorators/case_contacts/form_decorator.rb class CaseContacts::FormDecorator (line 1) | class CaseContacts::FormDecorator < ApplicationDecorator FILE: app/decorators/contact_type_decorator.rb class ContactTypeDecorator (line 1) | class ContactTypeDecorator < Draper::Decorator method hash_for_multi_select_with_cases (line 5) | def hash_for_multi_select_with_cases(casa_case_ids) method last_time_used_with_cases (line 13) | def last_time_used_with_cases(casa_case_ids) FILE: app/decorators/court_date_decorator.rb class CourtDateDecorator (line 1) | class CourtDateDecorator < Draper::Decorator method formatted_date (line 4) | def formatted_date method court_date_info (line 8) | def court_date_info FILE: app/decorators/learning_hour_decorator.rb class LearningHourDecorator (line 1) | class LearningHourDecorator < ApplicationDecorator FILE: app/decorators/learning_hour_topic_decorator.rb class LearningHourTopicDecorator (line 1) | class LearningHourTopicDecorator < ApplicationDecorator FILE: app/decorators/other_duty_decorator.rb class OtherDutyDecorator (line 1) | class OtherDutyDecorator < Draper::Decorator method duration_in_minutes (line 6) | def duration_in_minutes method truncate_notes (line 19) | def truncate_notes method limited_notes (line 29) | def limited_notes method full_notes (line 33) | def full_notes FILE: app/decorators/patch_note_decorator.rb class PatchNoteDecorator (line 1) | class PatchNoteDecorator < ApplicationDecorator FILE: app/decorators/placement_decorator.rb class PlacementDecorator (line 1) | class PlacementDecorator < Draper::Decorator method formatted_date (line 4) | def formatted_date method placement_info (line 8) | def placement_info method placement_started_at (line 12) | def placement_started_at method created_at (line 16) | def created_at FILE: app/decorators/user_decorator.rb class UserDecorator (line 1) | class UserDecorator < Draper::Decorator method status (line 4) | def status method local_time_zone (line 8) | def local_time_zone method formatted_timestamp (line 13) | def formatted_timestamp(attribute) method formatted_created_at (line 24) | def formatted_created_at method formatted_updated_at (line 28) | def formatted_updated_at method formatted_current_sign_in_at (line 32) | def formatted_current_sign_in_at method formatted_invitation_accepted_at (line 36) | def formatted_invitation_accepted_at method formatted_reset_password_sent_at (line 40) | def formatted_reset_password_sent_at method formatted_invitation_sent_at (line 44) | def formatted_invitation_sent_at method formatted_birthday (line 48) | def formatted_birthday method formatted_date_of_birth (line 54) | def formatted_date_of_birth FILE: app/decorators/volunteer_decorator.rb class VolunteerDecorator (line 1) | class VolunteerDecorator < UserDecorator method cc_reminder_text (line 4) | def cc_reminder_text FILE: app/helpers/all_casa_admins/casa_orgs_helper.rb type AllCasaAdmins (line 1) | module AllCasaAdmins type CasaOrgsHelper (line 2) | module CasaOrgsHelper function selected_organization (line 3) | def selected_organization FILE: app/helpers/api_base_helper.rb type ApiBaseHelper (line 1) | module ApiBaseHelper FILE: app/helpers/application_helper.rb type ApplicationHelper (line 1) | module ApplicationHelper function body_class (line 4) | def body_class function logged_in? (line 9) | def logged_in? function not_logged_in? (line 13) | def not_logged_in? function page_header (line 17) | def page_header function default_page_header (line 23) | def default_page_header function session_link (line 27) | def session_link function flash_class (line 37) | def flash_class(level) function og_tag (line 46) | def og_tag(type, options = {}) function resource_name (line 50) | def resource_name function resource (line 54) | def resource function devise_mapping (line 58) | def devise_mapping FILE: app/helpers/banner_helper.rb type BannerHelper (line 1) | module BannerHelper function conditionally_add_hidden_class (line 2) | def conditionally_add_hidden_class(current_banner_is_active) function banner_expiration_time_in_words (line 8) | def banner_expiration_time_in_words(banner) FILE: app/helpers/case_contacts_helper.rb type CaseContactsHelper (line 2) | module CaseContactsHelper function duration_hours (line 3) | def duration_hours(case_contact) function duration_minutes (line 7) | def duration_minutes(case_contact) function contact_mediums (line 11) | def contact_mediums function render_back_link (line 17) | def render_back_link(casa_case) function thank_you_message (line 23) | def thank_you_message function show_volunteer_reimbursement (line 36) | def show_volunteer_reimbursement(casa_cases) function expand_filters? (line 47) | def expand_filters?(surfaced_keys = %i[no_drafts sorted_by]) function send_home (line 56) | def send_home function send_to_case (line 60) | def send_to_case(casa_case) FILE: app/helpers/contact_types_helper.rb type ContactTypesHelper (line 4) | module ContactTypesHelper function set_group_options (line 5) | def set_group_options FILE: app/helpers/court_dates_helper.rb type CourtDatesHelper (line 4) | module CourtDatesHelper function when_do_we_have_court_dates (line 5) | def when_do_we_have_court_dates(casa_case) FILE: app/helpers/court_orders_helper.rb type CourtOrdersHelper (line 1) | module CourtOrdersHelper function court_order_select_options (line 2) | def court_order_select_options FILE: app/helpers/date_helper.rb type DateHelper (line 1) | module DateHelper function validate_date (line 5) | def validate_date(day, month, year) function parse_date (line 11) | def parse_date(errors, date_field_name, args) FILE: app/helpers/emancipations_helper.rb type EmancipationsHelper (line 1) | module EmancipationsHelper function emancipation_category_checkbox_checked (line 2) | def emancipation_category_checkbox_checked(casa_case, emancipation_cat... function emancipation_category_collapse_hidden (line 6) | def emancipation_category_collapse_hidden(casa_case, emancipation_cate... function emancipation_category_collapse_icon (line 10) | def emancipation_category_collapse_icon(casa_case, emancipation_category) function emancipation_option_checkbox_checked (line 14) | def emancipation_option_checkbox_checked(casa_case, emancipation_option) function emancipation_category_checkbox_checked_download (line 18) | def emancipation_category_checkbox_checked_download(casa_case, emancip... function emancipation_option_checkbox_checked_download (line 22) | def emancipation_option_checkbox_checked_download(casa_case, emancipat... function emancipation_option_radio_checked_download (line 26) | def emancipation_option_radio_checked_download(casa_case, emancipation... function case_contains_category? (line 32) | def case_contains_category?(casa_case, emancipation_category) FILE: app/helpers/followup_helper.rb type FollowupHelper (line 1) | module FollowupHelper function followup_icon (line 2) | def followup_icon(creator) FILE: app/helpers/learning_hours_helper.rb type LearningHoursHelper (line 1) | module LearningHoursHelper function format_time (line 2) | def format_time(minutes) FILE: app/helpers/mileage_rates_helper.rb type MileageRatesHelper (line 1) | module MileageRatesHelper function effective_date_parser (line 2) | def effective_date_parser(date) FILE: app/helpers/notifications_helper.rb type NotificationsHelper (line 1) | module NotificationsHelper function read_when_seen_notifications (line 2) | def read_when_seen_notifications function notifications_after_and_including_deploy (line 6) | def notifications_after_and_including_deploy(notifications) function notifications_before_deploy (line 16) | def notifications_before_deploy(notifications) function patch_notes_as_hash_keyed_by_type_name (line 20) | def patch_notes_as_hash_keyed_by_type_name(patch_notes) FILE: app/helpers/other_duties_helper.rb type OtherDutiesHelper (line 2) | module OtherDutiesHelper function duration_hours (line 3) | def duration_hours(duty) function duration_minutes (line 7) | def duration_minutes(duty) FILE: app/helpers/phone_number_helper.rb type PhoneNumberHelper (line 1) | module PhoneNumberHelper function valid_phone_number (line 6) | def valid_phone_number(number) function strip_unnecessary_characters (line 36) | def strip_unnecessary_characters(number) FILE: app/helpers/preference_sets_helper.rb type PreferenceSetsHelper (line 1) | module PreferenceSetsHelper FILE: app/helpers/report_helper.rb type ReportHelper (line 1) | module ReportHelper function boolean_choices (line 2) | def boolean_choices FILE: app/helpers/request_header_helper.rb type RequestHeaderHelper (line 1) | module RequestHeaderHelper FILE: app/helpers/sidebar_helper.rb type SidebarHelper (line 1) | module SidebarHelper function cases_index_title (line 2) | def cases_index_title function inbox_label (line 8) | def inbox_label function menu_item (line 14) | def menu_item(label:, path:, visible: false) function active_class (line 20) | def active_class(link_path) function request_path_active? (line 30) | def request_path_active?(link_path) FILE: app/helpers/sms_body_helper.rb type SmsBodyHelper (line 1) | module SmsBodyHelper function account_activation_msg (line 2) | def account_activation_msg(resource = "primorgens", hash_of_links = {}) function court_report_due_msg (line 21) | def court_report_due_msg(report_due_date, short_link) function no_contact_made_msg (line 25) | def no_contact_made_msg(contact_type, short_link) function case_contact_flagged_msg (line 29) | def case_contact_flagged_msg(display_name, short_link) function password_reset_msg (line 33) | def password_reset_msg(display_name, short_link) FILE: app/helpers/template_helper.rb type TemplateHelper (line 1) | module TemplateHelper function sanitize_opening_tags (line 2) | def sanitize_opening_tags(opening_tags) function sanitize_closing_tags (line 16) | def sanitize_closing_tags(closing_tags) function validate_closing_tags_exist (line 22) | def validate_closing_tags_exist(file_content) function active_if (line 35) | def active_if(cond) function active_if_status (line 39) | def active_if_status(status) FILE: app/helpers/ui_helper.rb type UiHelper (line 1) | module UiHelper function grouped_options_for_assigning_case (line 4) | def grouped_options_for_assigning_case(volunteer) function contact_types_list (line 23) | def contact_types_list(reimbursement) FILE: app/helpers/volunteer_helper.rb type VolunteerHelper (line 1) | module VolunteerHelper function volunteer_badge (line 2) | def volunteer_badge(casa_case, current_user) FILE: app/javascript/__tests__/password_confirmation.test.js function isDisabled (line 34) | function isDisabled (el) { FILE: app/javascript/__tests__/require_communication_preference.test.js function isDisabled (line 35) | function isDisabled (el) { FILE: app/javascript/controllers/alert_controller.js method confirm (line 21) | confirm (e) { FILE: app/javascript/controllers/autosave_controller.js method connect (line 19) | connect () { method save (line 25) | save () { method submitForm (line 30) | submitForm () { method autosaveAlert (line 65) | autosaveAlert () { method goodAlert (line 73) | goodAlert () { method removeBadAlert (line 80) | removeBadAlert () { method badAlert (line 87) | badAlert (message) { method hideAlert (line 95) | hideAlert () { method revealAlert (line 102) | revealAlert (hide = true) { FILE: app/javascript/controllers/casa_nested_form_controller.js method connect (line 28) | connect () { method disconnect (line 43) | disconnect () { method getRecordId (line 47) | getRecordId (wrapper) { method dispatchChangeEvent (line 73) | dispatchChangeEvent (action) { method add (line 80) | add (e) { method addAndCreate (line 86) | addAndCreate (e) { method remove (line 142) | remove (e) { method destroyAndRemove (line 148) | destroyAndRemove (e) { method confirmDestroyAndRemove (line 188) | confirmDestroyAndRemove (e) { FILE: app/javascript/controllers/case_contact_form_controller.js method connect (line 15) | connect () { method toggleAddAnotherTopicButton (line 27) | toggleAddAnotherTopicButton () { method onNestedFormChange (line 36) | onNestedFormChange (e) { method onContactTopicSelect (line 44) | onContactTopicSelect (_e) { FILE: app/javascript/controllers/court_order_form_controller.js method remove (line 8) | remove (e) { method add (line 17) | add (e) { method removeCourtOrderWithConfirmation (line 27) | removeCourtOrderWithConfirmation (e, wrapper) { method removeCourtOrder (line 50) | removeCourtOrder (e, wrapper) { FILE: app/javascript/controllers/disable_form_controller.js method validate (line 11) | validate () { FILE: app/javascript/controllers/dismiss_controller.js method dismiss (line 9) | dismiss (event) { FILE: app/javascript/controllers/hello_controller.js method connect (line 4) | connect () { FILE: app/javascript/controllers/icon_toggle_controller.js method toggle (line 9) | toggle () { FILE: app/javascript/controllers/multiple_select_controller.js method connect (line 17) | connect () { method createBasicMultiSelect (line 25) | createBasicMultiSelect () { method createMultiSelectWithOptionGroups (line 36) | createMultiSelectWithOptionGroups () { FILE: app/javascript/controllers/navbar_controller.js method click (line 6) | click () { FILE: app/javascript/controllers/select_all_controller.js method toggleAll (line 13) | toggleAll () { method toggleSingle (line 23) | toggleSingle () { method toggleCheckedAll (line 28) | toggleCheckedAll () { method toggleButton (line 42) | toggleButton () { method setButtonLabel (line 55) | setButtonLabel (numChecked) { method getNumberChecked (line 68) | getNumberChecked () { method getTotalCheckboxes (line 72) | getTotalCheckboxes () { FILE: app/javascript/controllers/sidebar_controller.js method click (line 12) | click () { method hoverOn (line 24) | hoverOn () { method hoverOff (line 28) | hoverOff () { method toggleHover (line 32) | toggleHover () { method toggleSidebar (line 39) | toggleSidebar () { method toggleLinks (line 43) | toggleLinks () { method toggleOverlay (line 53) | toggleOverlay () { method isNotMobile (line 58) | isNotMobile () { FILE: app/javascript/controllers/sidebar_group_controller.js method connect (line 6) | connect () { method toggleShow (line 21) | toggleShow () { method anchorLinkMap (line 26) | anchorLinkMap () { method initializeMenuHighlight (line 38) | initializeMenuHighlight () { method isAnchorGroupPage (line 60) | isAnchorGroupPage () { FILE: app/javascript/controllers/truncated_text_controller.js method toggle (line 7) | toggle () { FILE: app/javascript/datatable.js function initializeDataTable (line 3) | function initializeDataTable (selector) { FILE: app/javascript/src/add_to_calendar_button.js function createCalendarEvents (line 5) | function createCalendarEvents () { FILE: app/javascript/src/casa_case.js function copyOrdersFromCaseWithConfirmation (line 9) | function copyOrdersFromCaseWithConfirmation () { function copyOrdersFromCaseAction (line 33) | function copyOrdersFromCaseAction (id, caseNumber) { function showBtn (line 58) | function showBtn (el) { function hideBtn (line 63) | function hideBtn (el) { function disableBtn (line 68) | function disableBtn (el) { function enableBtn (line 75) | function enableBtn (el) { function showAlert (line 82) | function showAlert (html) { function validateForm (line 88) | function validateForm (formEl, errorEl) { function handleGenerateReport (line 99) | function handleGenerateReport (e) { function clearSelectErrors (line 144) | function clearSelectErrors () { function handleModalClose (line 152) | function handleModalClose () { function handleDropdownSelection (line 163) | function handleDropdownSelection () { FILE: app/javascript/src/casa_org.js function twilioToggle (line 1) | function twilioToggle () { function addCheckedAttr (line 20) | function addCheckedAttr (el) { function removeCheckedAttr (line 27) | function removeCheckedAttr (el) { FILE: app/javascript/src/case_contact.js function convertDateToSystemTimeZone (line 5) | function convertDateToSystemTimeZone (date) { function displayFollowupAlert (line 9) | async function displayFollowupAlert () { function fireSwalFollowupAlert (line 24) | async function fireSwalFollowupAlert () { FILE: app/javascript/src/case_emancipation.js function resolveAsyncOperation (line 15) | function resolveAsyncOperation (error) { function saveCheckState (line 34) | function saveCheckState (action, checkItemId) { class Toggler (line 65) | class Toggler { method constructor (line 66) | constructor (emancipationCategory) { method manageTogglerText (line 72) | manageTogglerText () { method openChildren (line 80) | openChildren () { method closeChildren (line 85) | closeChildren () { method deselectChildren (line 90) | deselectChildren (notifierCallback) { FILE: app/javascript/src/dashboard.js constant MAX_VISIBLE_TOPIC_PILLS (line 8) | const MAX_VISIBLE_TOPIC_PILLS = 2 function buildTopicPills (line 10) | function buildTopicPills (topics) { function buildExpandedContent (line 23) | function buildExpandedContent (data) { function filterOutUnassignedVolunteers (line 678) | function filterOutUnassignedVolunteers (checked) { FILE: app/javascript/src/display_app_metric.js function fetchDataAndCreateChart (line 40) | function fetchDataAndCreateChart (url, chartElement, successCallback) { function handleAjaxError (line 49) | function handleAjaxError (xhr, status, error) { function formatTimestampsAsBubbleChartData (line 56) | function formatTimestampsAsBubbleChartData (timestamps) { function createChart (line 101) | function createChart (chartElement, dataset) { function getYTickCallback (line 157) | function getYTickCallback (value) { function getTooltipLabelCallback (line 161) | function getTooltipLabelCallback (context) { function createLineChartForCaseContacts (line 167) | function createLineChartForCaseContacts (chartElement, dataset) { function createLineChartForUniqueUsersMonthly (line 172) | function createLineChartForUniqueUsersMonthly (chartElement, dataset) { function createLineChart (line 177) | function createLineChart (chartElement, dataset, chartTitle, datasetLabe... function extractChartData (line 200) | function extractChartData (dataset, index) { function createLineChartDataset (line 204) | function createLineChartDataset (label, data, borderColor, pointBackgrou... function createChartOptions (line 218) | function createChartOptions (label) { FILE: app/javascript/src/import.js function dataURItoBlob (line 9) | function dataURItoBlob (dataURI) { function storeCSVFile (line 28) | function storeCSVFile (file, key) { function fetchCSVFile (line 39) | function fetchCSVFile (key) { function populateFileInput (line 46) | function populateFileInput (inputId) { FILE: app/javascript/src/new_casa_case.js constant COURT_DATE_TOGGLE_CLASS (line 3) | const COURT_DATE_TOGGLE_CLASS = 'toggle-court-date-input' constant COURT_DATE_INPUT_ID (line 4) | const COURT_DATE_INPUT_ID = 'casa_case_court_dates_attributes_0_date' FILE: app/javascript/src/notifier.js class Notification (line 12) | class Notification { method constructor (line 13) | constructor (notificationElementAsJQuery, parentNotifier) { method dismiss (line 44) | dismiss () { method getText (line 51) | getText () { method isUserDismissable (line 55) | isUserDismissable () { method isDismissed (line 59) | isDismissed () { method setUserDismissable (line 63) | setUserDismissable (dismissable) { method setText (line 73) | setText (newText) { method #throwErrorIfDismissed (line 80) | #throwErrorIfDismissed () { // Methods prefixed with a hash are private method toggleUserDismissable (line 86) | toggleUserDismissable () { method #userDismissableDisable (line 96) | #userDismissableDisable () { method #userDismissableEnable (line 100) | #userDismissableEnable () { class Notifier (line 110) | class Notifier { method constructor (line 112) | constructor (notificationsElement) { method notify (line 179) | notify (message, level, isDismissable = true) { method resolveAsyncOperation (line 209) | resolveAsyncOperation (errorMsg) { method #setMinimizeButtonVisibility (line 242) | #setMinimizeButtonVisibility (visible) { method #toggleMinimize (line 250) | #toggleMinimize () { method totalNotificationCount (line 275) | totalNotificationCount () { method waitForAsyncOperation (line 282) | waitForAsyncOperation () { FILE: app/javascript/src/password_confirmation.js constant SUBMIT_BUTTON_CLASS (line 7) | const SUBMIT_BUTTON_CLASS = 'submit-password' constant PASSWORD_FIELD_CLASS (line 8) | const PASSWORD_FIELD_CLASS = 'password-new' constant CONFIRMATION_FIELD_CLASS (line 9) | const CONFIRMATION_FIELD_CLASS = 'password-confirmation' function disableButtonWhenEmptyString (line 11) | function disableButtonWhenEmptyString (str, button) { function checkPasswordsAndDisplayPopup (line 21) | function checkPasswordsAndDisplayPopup (button, password, confirmation, ... FILE: app/javascript/src/require_communication_preference.js constant EMAIL_TOGGLE_CLASS (line 7) | const EMAIL_TOGGLE_CLASS = 'toggle-email-notifications' constant SMS_TOGGLE_CLASS (line 8) | const SMS_TOGGLE_CLASS = 'toggle-sms-notifications' constant SAVE_BUTTON_CLASS (line 9) | const SAVE_BUTTON_CLASS = 'save-preference' constant SMS_NOTIFICATION_EVENT_ID (line 10) | const SMS_NOTIFICATION_EVENT_ID = 'toggle-sms-notification-event' function displayPopUpIfPreferencesIsInvalid (line 12) | function displayPopUpIfPreferencesIsInvalid () { FILE: app/javascript/src/session_timeout_poller.js function warningBoxAndReload (line 10) | function warningBoxAndReload () { function myTimer (line 17) | function myTimer () { FILE: app/javascript/src/time_zone.js function findTimeZone (line 5) | function findTimeZone () { FILE: app/javascript/src/type_checker.js method checkNonEmptyJQueryObject (line 9) | checkNonEmptyJQueryObject (variable, varName) { method checkNonEmptyString (line 24) | checkNonEmptyString (variable, varName) { method checkObject (line 36) | checkObject (variable, varName) { method checkPositiveInteger (line 47) | checkPositiveInteger (variable, varName) { method checkString (line 59) | checkString (variable, varName) { FILE: app/javascript/src/validated_form.js constant GET_ERROR_STATE_UNDEFINED_MESSAGE (line 5) | const GET_ERROR_STATE_UNDEFINED_MESSAGE = 'getErrorState for the compone... constant GET_WARNING_STATE_UNDEFINED_MESSAGE (line 6) | const GET_WARNING_STATE_UNDEFINED_MESSAGE = 'getWarningState for the com... class ValidatableFormSectionComponent (line 9) | class ValidatableFormSectionComponent { method constructor (line 10) | constructor (componentElementsAsJQuery, notifier) { method getErrorState (line 25) | getErrorState () { method errorHighlightUI (line 30) | errorHighlightUI (errorState) { method showUserError (line 36) | showUserError (errorMsg) { method removeUserError (line 41) | removeUserError () { method getWarningState (line 49) | getWarningState () { method warningHighlightUI (line 54) | warningHighlightUI (errorState) { method showUserWarning (line 60) | showUserWarning (warningMsg) { method removeUserWarning (line 65) | removeUserWarning () { method showWarningConfirmation (line 70) | showWarningConfirmation () { method removeWarningConfirmation (line 75) | removeWarningConfirmation () { method validate (line 80) | validate () { method #validateError (line 123) | #validateError () { method #validateWarning (line 136) | #validateWarning () { class NonDrivingContactMediumWarning (line 153) | class NonDrivingContactMediumWarning extends ValidatableFormSectionCompo... method constructor (line 154) | constructor (allInputs, notifier) { method getWarningState (line 172) | getWarningState () { method warningHighlightUI (line 181) | warningHighlightUI (warningState) { method showUserWarning (line 191) | showUserWarning (warningMsg) { method removeUserWarning (line 201) | removeUserWarning () { method showWarningConfirmation (line 211) | showWarningConfirmation () { method removeWarningConfirmation (line 224) | removeWarningConfirmation () { function safeInstantiateComponent (line 231) | function safeInstantiateComponent (componentName, instantiate) { FILE: app/javascript/sweet-alert-confirm.js function handleConfirm (line 43) | function handleConfirm (element) { FILE: app/jobs/application_job.rb class ApplicationJob (line 1) | class ApplicationJob < ActiveJob::Base; end FILE: app/lib/importers/case_importer.rb class CaseImporter (line 1) | class CaseImporter < FileImporter method import_cases (line 4) | def self.import_cases(csv_filespec, org_id) method initialize (line 8) | def initialize(csv_filespec, org_id) method import_cases (line 12) | def import_cases method create_casa_case (line 38) | def create_casa_case(case_params, volunteer_assignment_list, next_cour... method update_casa_case (line 49) | def update_casa_case(casa_case, case_params, volunteer_assignment_list... FILE: app/lib/importers/file_importer.rb class FileImporter (line 1) | class FileImporter method initialize (line 9) | def initialize(csv_filespec, org_id, type_label, header_names) method import (line 18) | def import method create_user_record (line 46) | def create_user_record(user_class, user_params) method email_addresses_to_users (line 55) | def email_addresses_to_users(clazz, comma_separated_emails) method export_failed_imports (line 60) | def export_failed_imports method failed? (line 75) | def failed? method message (line 79) | def message method record_outdated? (line 87) | def record_outdated?(record, new_data) method success? (line 98) | def success? method status (line 102) | def status FILE: app/lib/importers/supervisor_importer.rb class SupervisorImporter (line 1) | class SupervisorImporter < FileImporter method import_supervisors (line 4) | def self.import_supervisors(csv_filespec, org_id) method initialize (line 8) | def initialize(csv_filespec, org_id) method import_supervisors (line 12) | def import_supervisors method update_supervisor (line 40) | def update_supervisor(supervisor, supervisor_params, volunteer_assignm... method assign_volunteers (line 46) | def assign_volunteers(supervisor, volunteer_assignment_list) FILE: app/lib/importers/volunteer_importer.rb class VolunteerImporter (line 1) | class VolunteerImporter < FileImporter method import_volunteers (line 4) | def self.import_volunteers(csv_filespec, org_id) method initialize (line 8) | def initialize(csv_filespec, org_id) method import_volunteers (line 12) | def import_volunteers method update_volunteer (line 33) | def update_volunteer(volunteer, volunteer_params) FILE: app/mailers/application_mailer.rb class ApplicationMailer (line 1) | class ApplicationMailer < ActionMailer::Base FILE: app/mailers/casa_admin_mailer.rb class CasaAdminMailer (line 1) | class CasaAdminMailer < UserMailer method deactivation (line 2) | def deactivation(user) method account_setup (line 8) | def account_setup(user) FILE: app/mailers/fund_request_mailer.rb class FundRequestMailer (line 1) | class FundRequestMailer < ApplicationMailer method send_request (line 4) | def send_request(_user, fund_request, bugsnag_active = true) FILE: app/mailers/learning_hours_mailer.rb class LearningHoursMailer (line 1) | class LearningHoursMailer < ApplicationMailer method learning_hours_report_email (line 2) | def learning_hours_report_email(user) FILE: app/mailers/supervisor_mailer.rb class SupervisorMailer (line 1) | class SupervisorMailer < UserMailer method account_setup (line 2) | def account_setup(supervisor) method weekly_digest (line 9) | def weekly_digest(supervisor) method reimbursement_request_email (line 24) | def reimbursement_request_email(volunteer, supervisor) FILE: app/mailers/user_mailer.rb class UserMailer (line 1) | class UserMailer < ApplicationMailer method password_changed_reminder (line 2) | def password_changed_reminder(user) FILE: app/mailers/volunteer_mailer.rb class VolunteerMailer (line 1) | class VolunteerMailer < UserMailer method account_setup (line 2) | def account_setup(user) method court_report_reminder (line 9) | def court_report_reminder(user, court_report_due_date) method case_contacts_reminder (line 16) | def case_contacts_reminder(user, cc_recipients) FILE: app/models/additional_expense.rb class AdditionalExpense (line 1) | class AdditionalExpense < ApplicationRecord method describe_required? (line 14) | def describe_required? FILE: app/models/address.rb class Address (line 1) | class Address < ApplicationRecord FILE: app/models/all_casa_admin.rb class AllCasaAdmin (line 1) | class AllCasaAdmin < ApplicationRecord method casa_admin? (line 9) | def casa_admin? method supervisor? (line 13) | def supervisor? method volunteer? (line 17) | def volunteer? FILE: app/models/all_casa_admins/casa_org_metrics.rb type AllCasaAdmins (line 1) | module AllCasaAdmins class CasaOrgMetrics (line 2) | class CasaOrgMetrics method initialize (line 3) | def initialize(casa_org) method metrics (line 7) | def metrics FILE: app/models/api_credential.rb class ApiCredential (line 3) | class ApiCredential < ApplicationRecord method authenticate_api_token (line 10) | def authenticate_api_token(api_token) method authenticate_refresh_token (line 14) | def authenticate_refresh_token(refresh_token) method return_new_api_token! (line 19) | def return_new_api_token! method return_new_refresh_token! (line 25) | def return_new_refresh_token!(remember_me) method is_api_token_expired? (line 37) | def is_api_token_expired? method is_refresh_token_expired? (line 41) | def is_refresh_token_expired? method revoke_api_token (line 45) | def revoke_api_token method revoke_refresh_token (line 49) | def revoke_refresh_token method generate_api_token (line 56) | def generate_api_token method generate_refresh_token (line 62) | def generate_refresh_token FILE: app/models/application_record.rb class ApplicationRecord (line 1) | class ApplicationRecord < ActiveRecord::Base FILE: app/models/banner.rb class Banner (line 1) | class Banner < ApplicationRecord method expired? (line 13) | def expired? method expires_at_in_time_zone (line 21) | def expires_at_in_time_zone(timezone) method only_one_banner_is_active_per_organization (line 27) | def only_one_banner_is_active_per_organization method expires_at_must_be_in_future (line 37) | def expires_at_must_be_in_future FILE: app/models/casa_admin.rb class CasaAdmin (line 1) | class CasaAdmin < User method activate (line 8) | def activate method deactivate (line 12) | def deactivate method change_to_supervisor! (line 16) | def change_to_supervisor! FILE: app/models/casa_case.rb class CasaCase (line 1) | class CasaCase < ApplicationRecord method add_emancipation_category (line 110) | def add_emancipation_category(category_id) method add_emancipation_option (line 114) | def add_emancipation_option(option_id) method clear_court_dates (line 125) | def clear_court_dates method court_report_status= (line 133) | def court_report_status=(value) method in_transition_age? (line 143) | def in_transition_age? method latest_court_report (line 147) | def latest_court_report method next_court_date (line 151) | def next_court_date method most_recent_past_court_date (line 155) | def most_recent_past_court_date method formatted_latest_court_date (line 159) | def formatted_latest_court_date method has_judge_name? (line 165) | def has_judge_name? method remove_emancipation_category (line 169) | def remove_emancipation_category(category_id) method remove_emancipation_option (line 176) | def remove_emancipation_option(option_id) method update_cleaning_contact_types (line 183) | def update_cleaning_contact_types(args) method deactivate (line 196) | def deactivate method reactivate (line 201) | def reactivate method unassigned_volunteers (line 205) | def unassigned_volunteers method full_attributes_hash (line 210) | def full_attributes_hash method contact_type_validation? (line 214) | def contact_type_validation? method should_generate_new_friendly_id? (line 218) | def should_generate_new_friendly_id? FILE: app/models/casa_case_contact_type.rb class CasaCaseContactType (line 1) | class CasaCaseContactType < ApplicationRecord FILE: app/models/casa_case_emancipation_category.rb class CasaCaseEmancipationCategory (line 1) | class CasaCaseEmancipationCategory < ApplicationRecord FILE: app/models/casa_case_emancipation_option.rb class CasaCaseEmancipationOption (line 1) | class CasaCaseEmancipationOption < ApplicationRecord FILE: app/models/casa_org.rb class CasaOrg (line 1) | class CasaOrg < ApplicationRecord method casa_admins (line 35) | def casa_admins method supervisors (line 39) | def supervisors method volunteers (line 43) | def volunteers method case_contacts (line 47) | def case_contacts method followups (line 57) | def followups method case_contacts_count (line 61) | def case_contacts_count method org_logo (line 65) | def org_logo method open_org_court_report_template (line 73) | def open_org_court_report_template(&) method user_count (line 81) | def user_count method set_slug (line 85) | def set_slug method generate_defaults (line 89) | def generate_defaults method contact_types_by_group (line 97) | def contact_types_by_group method contact_types (line 103) | def contact_types method mileage_rate_for_given_date (line 114) | def mileage_rate_for_given_date(date) method has_alternate_active_banner? (line 118) | def has_alternate_active_banner?(current_banner_id) method sanitize_svg (line 124) | def sanitize_svg method validate_twilio_credentials (line 137) | def validate_twilio_credentials method normalize_phone_number (line 146) | def normalize_phone_number FILE: app/models/case_assignment.rb class CaseAssignment (line 1) | class CaseAssignment < ApplicationRecord method inactive_this_week (line 14) | def self.inactive_this_week(volunteer_id) method inactive? (line 18) | def inactive? = !active? method assignee_must_be_volunteer (line 22) | def assignee_must_be_volunteer method casa_case_and_volunteer_must_belong_to_same_casa_org (line 26) | def casa_case_and_volunteer_must_belong_to_same_casa_org FILE: app/models/case_contact.rb class CaseContact (line 1) | class CaseContact < ApplicationRecord method active_or_details? (line 64) | def active_or_details? method active_or_expenses? (line 68) | def active_or_expenses? method active_or_notes? (line 72) | def active_or_notes? method update_cleaning_contact_types (line 194) | def update_cleaning_contact_types(args) method occurred_at_display (line 203) | def occurred_at_display method reimbursement_amount (line 209) | def reimbursement_amount method reimbursement_only_when_miles_driven (line 216) | def reimbursement_only_when_miles_driven method volunteer_address_when_reimbursement_wanted (line 222) | def volunteer_address_when_reimbursement_wanted method volunteer_address_is_valid (line 228) | def volunteer_address_is_valid method supervisor_id (line 236) | def supervisor_id method has_casa_case_transitioned (line 240) | def has_casa_case_transitioned method contact_groups_with_types (line 244) | def contact_groups_with_types method requested_followup (line 252) | def requested_followup method should_send_reimbursement_email? (line 256) | def should_send_reimbursement_email? method supervisor_active? (line 260) | def supervisor_active? method address_field_disabled? (line 264) | def address_field_disabled? method volunteer (line 268) | def volunteer method options_for_sorted_by (line 276) | def self.options_for_sorted_by method case_hash_from_cases (line 280) | def self.case_hash_from_cases(cases) method casa_org_any_expenses_enabled? (line 287) | def casa_org_any_expenses_enabled? method sorted_by_params (line 291) | def self.sorted_by_params FILE: app/models/case_contact_contact_type.rb class CaseContactContactType (line 1) | class CaseContactContactType < ApplicationRecord FILE: app/models/case_contact_report.rb class CaseContactReport (line 1) | class CaseContactReport method initialize (line 21) | def initialize(args = {}) method to_csv (line 26) | def to_csv method filtered_case_contacts (line 33) | def filtered_case_contacts(args) method filtered_columns (line 47) | def filtered_columns(args) FILE: app/models/case_court_order.rb class CaseCourtOrder (line 1) | class CaseCourtOrder < ApplicationRecord method court_order_options (line 36) | def self.court_order_options method implementation_status_symbol (line 40) | def implementation_status_symbol FILE: app/models/case_court_report.rb class CaseCourtReport (line 5) | class CaseCourtReport method initialize (line 8) | def initialize(path_to_template:, context:) method generate_to_string (line 17) | def generate_to_string FILE: app/models/case_court_report_context.rb class CaseCourtReportContext (line 5) | class CaseCourtReportContext method initialize (line 8) | def initialize(args = {}) method context (line 18) | def context method case_contacts (line 39) | def case_contacts method latest_hearing_date (line 46) | def latest_hearing_date method case_orders (line 51) | def case_orders(orders) method filtered_interviewees (line 60) | def filtered_interviewees method case_details (line 67) | def case_details method volunteer_info (line 77) | def volunteer_info method org_address (line 87) | def org_address(path_to_template) method court_topics (line 108) | def court_topics method calculate_date_range (line 140) | def calculate_date_range(args) FILE: app/models/case_group.rb class CaseGroup (line 1) | class CaseGroup < ApplicationRecord method strip_name (line 13) | def strip_name FILE: app/models/case_group_membership.rb class CaseGroupMembership (line 1) | class CaseGroupMembership < ApplicationRecord FILE: app/models/checklist_item.rb class ChecklistItem (line 1) | class ChecklistItem < ApplicationRecord FILE: app/models/concerns/CasaCase/validations.rb type CasaCase::Validations (line 3) | module CasaCase::Validations FILE: app/models/concerns/api.rb type Api (line 1) | module Api function initialize_api_credentials (line 10) | def initialize_api_credentials FILE: app/models/concerns/by_organization_scope.rb type ByOrganizationScope (line 3) | module ByOrganizationScope FILE: app/models/concerns/roles.rb type Roles (line 1) | module Roles function role (line 4) | def role FILE: app/models/contact_topic.rb class ContactTopic (line 1) | class ContactTopic < ApplicationRecord method generate_for_org! (line 25) | def generate_for_org!(casa_org) method default_contact_topics (line 35) | def default_contact_topics FILE: app/models/contact_topic_answer.rb class ContactTopicAnswer (line 1) | class ContactTopicAnswer < ApplicationRecord FILE: app/models/contact_type.rb class ContactType (line 1) | class ContactType < ApplicationRecord FILE: app/models/contact_type_group.rb class ContactTypeGroup (line 1) | class ContactTypeGroup < ApplicationRecord method generate_for_org! (line 25) | def generate_for_org!(casa_org) FILE: app/models/court_date.rb class CourtDate (line 5) | class CourtDate < ApplicationRecord method associated_reports (line 31) | def associated_reports method latest_associated_report (line 40) | def latest_associated_report method additional_info? (line 44) | def additional_info? method display_name (line 48) | def display_name method set_court_report_due_date (line 54) | def set_court_report_due_date FILE: app/models/custom_org_link.rb class CustomOrgLink (line 1) | class CustomOrgLink < ApplicationRecord method trim_name (line 14) | def trim_name FILE: app/models/emancipation_category.rb class EmancipationCategory (line 1) | class EmancipationCategory < ApplicationRecord method add_option (line 8) | def add_option(option_name) method delete_option (line 12) | def delete_option(option_name) FILE: app/models/emancipation_option.rb class EmancipationOption (line 1) | class EmancipationOption < ApplicationRecord FILE: app/models/followup.rb class Followup (line 1) | class Followup < ApplicationRecord method in_organization (line 10) | def self.in_organization(casa_org) method uniqueness_of_requested (line 14) | def uniqueness_of_requested method existing_requested_followup? (line 23) | def existing_requested_followup? FILE: app/models/fund_request.rb class FundRequest (line 1) | class FundRequest < ApplicationRecord FILE: app/models/health.rb class Health (line 1) | class Health < ApplicationRecord method instance (line 6) | def self.instance FILE: app/models/hearing_type.rb class HearingType (line 1) | class HearingType < ApplicationRecord method generate_for_org! (line 21) | def generate_for_org!(casa_org) FILE: app/models/judge.rb class Judge (line 1) | class Judge < ApplicationRecord FILE: app/models/language.rb class Language (line 1) | class Language < ApplicationRecord method strip_name (line 11) | def strip_name FILE: app/models/learning_hour.rb class LearningHour (line 1) | class LearningHour < ApplicationRecord method zero_duration_hours? (line 37) | def zero_duration_hours? method occurred_at_not_in_future (line 41) | def occurred_at_not_in_future method user_org_learning_topic_enable? (line 49) | def user_org_learning_topic_enable? FILE: app/models/learning_hour_topic.rb class LearningHourTopic (line 1) | class LearningHourTopic < ApplicationRecord method strip_name (line 9) | def strip_name FILE: app/models/learning_hour_type.rb class LearningHourType (line 1) | class LearningHourType < ApplicationRecord method strip_name (line 12) | def strip_name FILE: app/models/learning_hours_report.rb class LearningHoursReport (line 1) | class LearningHoursReport method initialize (line 4) | def initialize(casa_org_id) method to_csv (line 10) | def to_csv FILE: app/models/login_activity.rb class LoginActivity (line 1) | class LoginActivity < ApplicationRecord FILE: app/models/mileage_rate.rb class MileageRate (line 1) | class MileageRate < ApplicationRecord FILE: app/models/mileage_report.rb class MileageReport (line 1) | class MileageReport method initialize (line 4) | def initialize(org_id) method to_csv (line 11) | def to_csv FILE: app/models/missing_data_report.rb class MissingDataReport (line 1) | class MissingDataReport method initialize (line 4) | def initialize(org_id) method to_csv (line 9) | def to_csv FILE: app/models/note.rb class Note (line 1) | class Note < ApplicationRecord FILE: app/models/other_duty.rb class OtherDuty (line 1) | class OtherDuty < ApplicationRecord FILE: app/models/patch_note.rb class PatchNote (line 1) | class PatchNote < ApplicationRecord FILE: app/models/patch_note_group.rb class PatchNoteGroup (line 1) | class PatchNoteGroup < ApplicationRecord FILE: app/models/patch_note_type.rb class PatchNoteType (line 1) | class PatchNoteType < ApplicationRecord FILE: app/models/placement.rb class Placement (line 1) | class Placement < ApplicationRecord FILE: app/models/placement_type.rb class PlacementType (line 1) | class PlacementType < ApplicationRecord FILE: app/models/preference_set.rb class PreferenceSet (line 1) | class PreferenceSet < ApplicationRecord FILE: app/models/sent_email.rb class SentEmail (line 1) | class SentEmail < ApplicationRecord FILE: app/models/sms_notification_event.rb class SmsNotificationEvent (line 1) | class SmsNotificationEvent < ApplicationRecord FILE: app/models/supervisor.rb class Supervisor (line 1) | class Supervisor < User method activate (line 14) | def activate method deactivate (line 19) | def deactivate method change_to_admin! (line 30) | def change_to_admin! method pending_volunteers (line 34) | def pending_volunteers method inactive_volunteers (line 40) | def inactive_volunteers method recently_unassigned_volunteers (line 48) | def recently_unassigned_volunteers FILE: app/models/supervisor_volunteer.rb class SupervisorVolunteer (line 2) | class SupervisorVolunteer < ApplicationRecord method ensure_supervisor_and_volunteer_belong_to_same_casa_org (line 12) | def ensure_supervisor_and_volunteer_belong_to_same_casa_org FILE: app/models/user.rb class User (line 4) | class User < ApplicationRecord method casa_admin? (line 63) | def casa_admin? method supervisor? (line 67) | def supervisor? method volunteer? (line 71) | def volunteer? method actively_assigned_and_active_cases (line 75) | def actively_assigned_and_active_cases method active_volunteers (line 79) | def active_volunteers method create_preference_set (line 83) | def create_preference_set method case_contacts_for (line 88) | def case_contacts_for(casa_case_id) method recent_contacts_made (line 98) | def recent_contacts_made(days_counter = 60) method most_recent_contact (line 102) | def most_recent_contact method volunteers_serving_transition_aged_youth (line 107) | def volunteers_serving_transition_aged_youth method no_attempt_for_two_weeks (line 115) | def no_attempt_for_two_weeks method generate_password_reset_token (line 134) | def generate_password_reset_token method active_for_authentication? (line 147) | def active_for_authentication? method serving_transition_aged_youth? (line 151) | def serving_transition_aged_youth? method record_previous_email (line 155) | def record_previous_email method filter_old_emails! (line 161) | def filter_old_emails!(previous_email) method skip_email_confirmation_upon_creation (line 166) | def skip_email_confirmation_upon_creation method send_email_changed_notification? (line 171) | def send_email_changed_notification? method after_confirmation (line 175) | def after_confirmation method normalize_phone_number (line 181) | def normalize_phone_number FILE: app/models/user_language.rb class UserLanguage (line 1) | class UserLanguage < ApplicationRecord FILE: app/models/user_reminder_time.rb class UserReminderTime (line 1) | class UserReminderTime < ApplicationRecord FILE: app/models/user_sms_notification_event.rb class UserSmsNotificationEvent (line 1) | class UserSmsNotificationEvent < ApplicationRecord FILE: app/models/volunteer.rb class Volunteer (line 3) | class Volunteer < User method send_court_report_reminder (line 70) | def self.send_court_report_reminder method activate (line 84) | def activate method deactivate (line 89) | def deactivate method case_assignments_with_cases (line 99) | def case_assignments_with_cases method has_supervisor? (line 103) | def has_supervisor? method supervised_by? (line 107) | def supervised_by?(supervisor) method made_contact_with_all_cases_in_days? (line 112) | def made_contact_with_all_cases_in_days?(num_days = CONTACT_MADE_IN_DA... method hours_spent_in_days (line 120) | def hours_spent_in_days(num_days) method learning_hours_spent_in_one_year (line 129) | def learning_hours_spent_in_one_year method cases_where_contact_made_in_days (line 142) | def cases_where_contact_made_in_days(num_days = CONTACT_MADE_IN_DAYS_NUM) FILE: app/notifications/base_notifier.rb class BaseNotifier (line 1) | class BaseNotifier < Noticed::Event method title (line 3) | def title method message (line 7) | def message method url (line 11) | def url method read? (line 16) | def read? method created_at (line 20) | def created_at method updated_at (line 24) | def updated_at method created_by (line 28) | def created_by method created_by_name (line 34) | def created_by_name FILE: app/notifications/delivery_methods/sms.rb class DeliveryMethods::Sms (line 1) | class DeliveryMethods::Sms < Noticed::DeliveryMethod method deliver (line 3) | def deliver method case_contact_url (line 13) | def case_contact_url method sender (line 19) | def sender method case_contact_id (line 23) | def case_contact_id FILE: app/notifications/emancipation_checklist_reminder_notifier.rb class EmancipationChecklistReminderNotifier (line 5) | class EmancipationChecklistReminderNotifier < BaseNotifier method message (line 18) | def message method title (line 25) | def title method url (line 29) | def url FILE: app/notifications/followup_notifier.rb class FollowupNotifier (line 5) | class FollowupNotifier < BaseNotifier method title (line 18) | def title method message (line 22) | def message method url (line 26) | def url method sms_notifications? (line 32) | def sms_notifications? method email_notifications? (line 36) | def email_notifications? method build_message (line 40) | def build_message FILE: app/notifications/followup_resolved_notifier.rb class FollowupResolvedNotifier (line 5) | class FollowupResolvedNotifier < BaseNotifier method title (line 18) | def title method message (line 22) | def message method url (line 26) | def url FILE: app/notifications/reimbursement_complete_notifier.rb class ReimbursementCompleteNotifier (line 5) | class ReimbursementCompleteNotifier < BaseNotifier method title (line 15) | def title method message (line 19) | def message method url (line 27) | def url FILE: app/notifications/volunteer_birthday_notifier.rb class VolunteerBirthdayNotifier (line 5) | class VolunteerBirthdayNotifier < BaseNotifier method message (line 18) | def message method title (line 22) | def title method url (line 26) | def url FILE: app/notifications/youth_birthday_notifier.rb class YouthBirthdayNotifier (line 5) | class YouthBirthdayNotifier < BaseNotifier method message (line 17) | def message method title (line 21) | def title method url (line 25) | def url FILE: app/policies/additional_expense_policy.rb class AdditionalExpensePolicy (line 1) | class AdditionalExpensePolicy < ApplicationPolicy class Scope (line 2) | class Scope < ApplicationPolicy::Scope method resolve (line 3) | def resolve method create? (line 15) | def create? method same_org? (line 30) | def same_org? FILE: app/policies/application_policy.rb class ApplicationPolicy (line 1) | class ApplicationPolicy class Scope (line 2) | class Scope method initialize (line 5) | def initialize(user, scope) method resolve (line 10) | def resolve method initialize (line 17) | def initialize(user, record) method index? (line 22) | def index? method show? (line 26) | def show? method create? (line 30) | def create? method new? (line 34) | def new? method update? (line 38) | def update? method edit? (line 42) | def edit? method destroy? (line 46) | def destroy? method is_admin? (line 50) | def is_admin? method same_org? (line 54) | def same_org? method is_admin_same_org? (line 61) | def is_admin_same_org? method is_supervisor? (line 66) | def is_supervisor? method is_supervisor_same_org? (line 70) | def is_supervisor_same_org? method is_volunteer? (line 75) | def is_volunteer? # deprecated in favor of is_volunteer_same_org? method is_volunteer_same_org? (line 79) | def is_volunteer_same_org? method admin_or_supervisor? (line 83) | def admin_or_supervisor? method admin_or_supervisor_same_org? (line 87) | def admin_or_supervisor_same_org? method admin_or_supervisor_or_volunteer? (line 92) | def admin_or_supervisor_or_volunteer? method admin_or_supervisor_or_volunteer_same_org? (line 96) | def admin_or_supervisor_or_volunteer_same_org? method see_reports_page? (line 100) | def see_reports_page? method see_emancipation_checklist? (line 104) | def see_emancipation_checklist? method see_court_reports_page? (line 108) | def see_court_reports_page? method see_mileage_rate? (line 112) | def see_mileage_rate? method matches_casa_org? (line 116) | def matches_casa_org? method reimbursement_enabled? (line 120) | def reimbursement_enabled? method current_organization (line 124) | def current_organization FILE: app/policies/bulk_court_date_policy.rb class BulkCourtDatePolicy (line 1) | class BulkCourtDatePolicy < ApplicationPolicy method new? (line 5) | def new? method create? (line 9) | def create? FILE: app/policies/casa_admin_policy.rb class CasaAdminPolicy (line 1) | class CasaAdminPolicy < UserPolicy method index? (line 2) | def index? method edit? (line 15) | def edit? method deactivate? (line 19) | def deactivate? method see_deactivate_option? (line 23) | def see_deactivate_option? FILE: app/policies/casa_case_policy.rb class CasaCasePolicy (line 1) | class CasaCasePolicy < ApplicationPolicy class Scope (line 2) | class Scope method initialize (line 5) | def initialize(user, scope) method resolve (line 10) | def resolve method sibling_cases (line 21) | def sibling_cases method update_contact_types? (line 33) | def update_contact_types? method update_birth_month_year_youth? (line 37) | def update_birth_month_year_youth? method update_date_in_care_youth? (line 41) | def update_date_in_care_youth? method update_emancipation_option? (line 45) | def update_emancipation_option? method assign_volunteers? (line 50) | def assign_volunteers? method can_see_filters? (line 54) | def can_see_filters? method permitted_attributes (line 66) | def permitted_attributes method same_org_supervisor_admin_or_assigned? (line 90) | def same_org_supervisor_admin_or_assigned? method same_org_supervisor_admin? (line 94) | def same_org_supervisor_admin? method index? (line 98) | def index? method is_volunteer_actively_assigned_to_case? (line 112) | def is_volunteer_actively_assigned_to_case? method case_court_orders_attributes (line 119) | def case_court_orders_attributes FILE: app/policies/casa_org_policy.rb class CasaOrgPolicy (line 1) | class CasaOrgPolicy < ApplicationPolicy method edit? (line 2) | def edit? method update? (line 6) | def update? method same_org? (line 10) | def same_org? FILE: app/policies/case_assignment_policy.rb class CaseAssignmentPolicy (line 1) | class CaseAssignmentPolicy < ApplicationPolicy class Scope (line 2) | class Scope method initialize (line 5) | def initialize(user, scope) method resolve (line 10) | def resolve method create? (line 15) | def create? method destroy? (line 19) | def destroy? method unassign? (line 23) | def unassign? method reimbursement? (line 27) | def reimbursement? method show_or_hide_contacts? (line 31) | def show_or_hide_contacts? FILE: app/policies/case_contact_policy.rb class CaseContactPolicy (line 1) | class CaseContactPolicy < ApplicationPolicy method new? (line 2) | def new? method show? (line 6) | def show? method update? (line 10) | def update? method destroy? (line 14) | def destroy? method additional_expenses_allowed? (line 18) | def additional_expenses_allowed? class Scope (line 29) | class Scope < ApplicationPolicy::Scope method resolve (line 30) | def resolve method creator_or_supervisor_or_admin? (line 44) | def creator_or_supervisor_or_admin? method is_draft? (line 48) | def is_draft? method is_creator? (line 52) | def is_creator? method same_org? (line 56) | def same_org? FILE: app/policies/case_court_order_policy.rb class CaseCourtOrderPolicy (line 1) | class CaseCourtOrderPolicy < ApplicationPolicy FILE: app/policies/case_court_report_policy.rb class CaseCourtReportPolicy (line 1) | class CaseCourtReportPolicy < ApplicationPolicy method index? (line 2) | def index? FILE: app/policies/case_group_policy.rb class CaseGroupPolicy (line 1) | class CaseGroupPolicy < ApplicationPolicy class Scope (line 2) | class Scope < ApplicationPolicy::Scope method resolve (line 3) | def resolve method index? (line 15) | def index? method new? (line 19) | def new? method show? (line 23) | def show? method create? (line 27) | def create? method edit? (line 31) | def edit? method update? (line 35) | def update? method destroy? (line 39) | def destroy? method same_org? (line 43) | def same_org? FILE: app/policies/checklist_item_policy.rb class ChecklistItemPolicy (line 1) | class ChecklistItemPolicy < ApplicationPolicy method new? (line 2) | def new? method create? (line 6) | def create? method edit? (line 10) | def edit? method update? (line 14) | def update? method destroy? (line 18) | def destroy? FILE: app/policies/contact_topic_answer_policy.rb class ContactTopicAnswerPolicy (line 1) | class ContactTopicAnswerPolicy < ApplicationPolicy class Scope (line 2) | class Scope < ApplicationPolicy::Scope method resolve (line 3) | def resolve method create? (line 15) | def create? method same_org? (line 30) | def same_org? FILE: app/policies/contact_topic_policy.rb class ContactTopicPolicy (line 1) | class ContactTopicPolicy < ApplicationPolicy FILE: app/policies/contact_type_group_policy.rb class ContactTypeGroupPolicy (line 1) | class ContactTypeGroupPolicy < ApplicationPolicy FILE: app/policies/contact_type_policy.rb class ContactTypePolicy (line 1) | class ContactTypePolicy < ApplicationPolicy FILE: app/policies/court_date_policy.rb class CourtDatePolicy (line 1) | class CourtDatePolicy < ApplicationPolicy method allowed_to_edit_casa_case? (line 2) | def allowed_to_edit_casa_case? method casa_case_policy (line 15) | def casa_case_policy FILE: app/policies/custom_org_link_policy.rb class CustomOrgLinkPolicy (line 1) | class CustomOrgLinkPolicy < ApplicationPolicy class Scope (line 2) | class Scope < ApplicationPolicy::Scope method resolve (line 3) | def resolve FILE: app/policies/dashboard_policy.rb class DashboardPolicy (line 1) | class DashboardPolicy < ApplicationPolicy method all_allowed (line 2) | def all_allowed method is_admin? (line 6) | def is_admin? method create_case_contacts? (line 10) | def create_case_contacts? FILE: app/policies/followup_policy.rb class FollowupPolicy (line 1) | class FollowupPolicy < ApplicationPolicy method create? (line 2) | def create? FILE: app/policies/fund_request_policy.rb class FundRequestPolicy (line 1) | class FundRequestPolicy < ApplicationPolicy method new? (line 2) | def new? method create? (line 6) | def create? FILE: app/policies/hearing_type_policy.rb class HearingTypePolicy (line 1) | class HearingTypePolicy < ApplicationPolicy class Scope (line 2) | class Scope < ApplicationPolicy::Scope method initialize (line 5) | def initialize(user, scope) method resolve (line 10) | def resolve FILE: app/policies/import_policy.rb class ImportPolicy (line 1) | class ImportPolicy < ApplicationPolicy method index? (line 2) | def index? FILE: app/policies/judge_policy.rb class JudgePolicy (line 1) | class JudgePolicy < ApplicationPolicy FILE: app/policies/language_policy.rb class LanguagePolicy (line 1) | class LanguagePolicy < ApplicationPolicy FILE: app/policies/learning_hour_policy.rb class LearningHourPolicy (line 1) | class LearningHourPolicy < ApplicationPolicy method index? (line 2) | def index? method show? (line 6) | def show? method new? (line 10) | def new? class Scope (line 19) | class Scope method initialize (line 22) | def initialize(user, scope) method resolve (line 27) | def resolve FILE: app/policies/learning_hour_topic_policy.rb class LearningHourTopicPolicy (line 1) | class LearningHourTopicPolicy < ApplicationPolicy FILE: app/policies/learning_hour_type_policy.rb class LearningHourTypePolicy (line 1) | class LearningHourTypePolicy < ApplicationPolicy FILE: app/policies/nil_class_policy.rb class NilClassPolicy (line 1) | class NilClassPolicy < ApplicationPolicy method method_missing (line 2) | def method_missing(*) method respond_to_missing? (line 6) | def respond_to_missing?(*) FILE: app/policies/note_policy.rb class NotePolicy (line 1) | class NotePolicy < ApplicationPolicy method create? (line 2) | def create? method edit? (line 6) | def edit? method update? (line 10) | def update? method destroy? (line 14) | def destroy? FILE: app/policies/notification_policy.rb class NotificationPolicy (line 1) | class NotificationPolicy < ApplicationPolicy method index? (line 2) | def index? method mark_as_read? (line 6) | def mark_as_read? FILE: app/policies/other_duty_policy.rb class OtherDutyPolicy (line 1) | class OtherDutyPolicy < UserPolicy class Scope (line 2) | class Scope method initialize (line 5) | def initialize(user, scope) method index? (line 11) | def index? method new? (line 15) | def new? method create? (line 19) | def create? method edit? (line 23) | def edit? method update? (line 27) | def update? method casa_org_other_duties_enabled? (line 31) | def casa_org_other_duties_enabled? FILE: app/policies/patch_note_policy.rb class PatchNotePolicy (line 1) | class PatchNotePolicy < ApplicationPolicy class Scope (line 2) | class Scope < ApplicationPolicy::Scope method initialize (line 3) | def initialize(user, scope) method resolve (line 8) | def resolve FILE: app/policies/placement_policy.rb class PlacementPolicy (line 1) | class PlacementPolicy < ApplicationPolicy class Scope (line 2) | class Scope < ApplicationPolicy::Scope method resolve (line 3) | def resolve method allowed_to_edit_casa_case? (line 10) | def allowed_to_edit_casa_case? method casa_case_policy (line 23) | def casa_case_policy FILE: app/policies/placement_type_policy.rb class PlacementTypePolicy (line 1) | class PlacementTypePolicy < ApplicationPolicy class Scope (line 2) | class Scope < ApplicationPolicy::Scope method resolve (line 3) | def resolve method edit? (line 15) | def edit? FILE: app/policies/reimbursement_policy.rb class ReimbursementPolicy (line 1) | class ReimbursementPolicy < ApplicationPolicy class Scope (line 2) | class Scope < ApplicationPolicy::Scope method resolve (line 3) | def resolve method index? (line 9) | def index? method datatable? (line 13) | def datatable? method change_complete_status? (line 17) | def change_complete_status? FILE: app/policies/supervisor_policy.rb class SupervisorPolicy (line 1) | class SupervisorPolicy < UserPolicy class Scope (line 2) | class Scope < ApplicationPolicy::Scope method resolve (line 3) | def resolve method index? (line 11) | def index? method new? (line 15) | def new? method update? (line 19) | def update? method activate? (line 23) | def activate? method deactivate? (line 27) | def deactivate? method resend_invitation? (line 31) | def resend_invitation? method edit? (line 35) | def edit? FILE: app/policies/supervisor_volunteer_policy.rb class SupervisorVolunteerPolicy (line 1) | class SupervisorVolunteerPolicy < ApplicationPolicy method create? (line 2) | def create? method unassign? (line 6) | def unassign? method bulk_assignment? (line 10) | def bulk_assignment? FILE: app/policies/user_policy.rb class UserPolicy (line 1) | class UserPolicy < ApplicationPolicy method add_language? (line 2) | def add_language? method remove_language? (line 6) | def remove_language? method edit? (line 10) | def edit? method update_volunteer_email? (line 14) | def update_volunteer_email? method unassign_case? (line 18) | def unassign_case? method deactivate? (line 24) | def deactivate? method update_supervisor_email? (line 28) | def update_supervisor_email? method update_supervisor_name? (line 32) | def update_supervisor_name? method update_user_setting? (line 36) | def update_user_setting? method edit_name? (line 44) | def edit_name?(viewed_user) class Scope (line 52) | class Scope method initialize (line 55) | def initialize(user, scope) method resolve (line 60) | def resolve FILE: app/policies/volunteer_policy.rb class VolunteerPolicy (line 1) | class VolunteerPolicy < UserPolicy class Scope (line 2) | class Scope method initialize (line 5) | def initialize(user, scope) method resolve (line 10) | def resolve method index? (line 20) | def index? method edit? (line 24) | def edit? method impersonate? (line 28) | def impersonate? method stop_impersonating? (line 32) | def stop_impersonating? FILE: app/presenters/base_presenter.rb class BasePresenter (line 1) | class BasePresenter method current_user (line 4) | def current_user method current_organization (line 8) | def current_organization method policy_scope (line 12) | def policy_scope(scope) FILE: app/presenters/case_contact_presenter.rb class CaseContactPresenter (line 1) | class CaseContactPresenter < BasePresenter method initialize (line 5) | def initialize(case_contacts) method display_case_number (line 10) | def display_case_number(casa_case_id) method boolean_select_options (line 18) | def boolean_select_options method org_cases (line 27) | def org_cases FILE: app/services/additional_expense_params_service.rb class AdditionalExpenseParamsService (line 1) | class AdditionalExpenseParamsService method initialize (line 2) | def initialize(params) method calculate (line 6) | def calculate FILE: app/services/backfill_followupable_service.rb class BackfillFollowupableService (line 1) | class BackfillFollowupableService method fill_followup_id_and_type (line 2) | def fill_followup_id_and_type FILE: app/services/casa_case_change_service.rb class CasaCaseChangeService (line 1) | class CasaCaseChangeService method initialize (line 2) | def initialize(original, changed) method calculate (line 9) | def calculate method changed_attributes_messages (line 13) | def changed_attributes_messages method html_formatted_list (line 24) | def html_formatted_list(messages) method change_message_text (line 31) | def change_message_text(attribute, original_attribute, updated_attribute) FILE: app/services/case_contacts_contact_dates.rb class CaseContactsContactDates (line 1) | class CaseContactsContactDates method initialize (line 2) | def initialize(case_contact_contact_types) method contact_dates_details (line 6) | def contact_dates_details method case_contacts_for_type (line 22) | def case_contacts_for_type(contact_type_name) method format_dates (line 28) | def format_dates(case_contacts) method chron_sort (line 32) | def chron_sort(case_contacts) method order_and_format (line 36) | def order_and_format(case_contacts) FILE: app/services/case_contacts_export_csv_service.rb class CaseContactsExportCsvService (line 5) | class CaseContactsExportCsvService method initialize (line 8) | def initialize(case_contacts_scope, filtered_columns) method perform (line 13) | def perform method fixed_column_values (line 27) | def fixed_column_values(case_contact) method fixed_column_headers (line 50) | def fixed_column_headers method court_topic_answers (line 54) | def court_topic_answers(case_contact) method court_topics (line 64) | def court_topics method court_topics_filtered? (line 75) | def court_topics_filtered? FILE: app/services/court_report_due_sms_reminder_service.rb type CourtReportDueSmsReminderService (line 1) | module CourtReportDueSmsReminderService function court_report_reminder (line 8) | def court_report_reminder(user, report_due_date) FILE: app/services/court_report_format_contact_date.rb class CourtReportFormatContactDate (line 3) | class CourtReportFormatContactDate method initialize (line 7) | def initialize(case_contact) method format (line 11) | def format method format_long (line 15) | def format_long method contact_made_suffix (line 23) | def contact_made_suffix FILE: app/services/create_all_casa_admin_service.rb class CreateAllCasaAdminService (line 1) | class CreateAllCasaAdminService method initialize (line 2) | def initialize(params, current_user) method build (line 7) | def build method create! (line 13) | def create! FILE: app/services/create_casa_admin_service.rb class CreateCasaAdminService (line 1) | class CreateCasaAdminService method initialize (line 4) | def initialize(current_organization, params, current_user) method build (line 10) | def build method create! (line 19) | def create! FILE: app/services/deployment/backfill_case_contact_started_metadata_service.rb type Deployment (line 1) | module Deployment class BackfillCaseContactStartedMetadataService (line 2) | class BackfillCaseContactStartedMetadataService method backfill_metadata (line 3) | def backfill_metadata FILE: app/services/emancipation_checklist_download_html.rb class EmancipationChecklistDownloadHtml (line 1) | class EmancipationChecklistDownloadHtml method initialize (line 2) | def initialize(current_case, emancipation_form_data) method call (line 7) | def call FILE: app/services/emancipation_checklist_reminder_service.rb class EmancipationChecklistReminderService (line 1) | class EmancipationChecklistReminderService method initialize (line 4) | def initialize method send_reminders (line 13) | def send_reminders FILE: app/services/failed_import_csv_service.rb class FailedImportCsvService (line 3) | class FailedImportCsvService method initialize (line 10) | def initialize(import_type:, user:, failed_rows: "", filepath: nil) method store (line 17) | def store method read (line 27) | def read method cleanup (line 38) | def cleanup method log_info (line 47) | def log_info(msg) method exists_warning (line 51) | def exists_warning method expired_warning (line 55) | def expired_warning method max_size_warning (line 59) | def max_size_warning method generate_filepath (line 63) | def generate_filepath method csv_exists? (line 67) | def csv_exists? method expired? (line 71) | def expired? method remove_csv (line 75) | def remove_csv method filename (line 79) | def filename method humanised_import_type (line 84) | def humanised_import_type FILE: app/services/fdf_inputs_service.rb class FdfInputsService (line 3) | class FdfInputsService method clean (line 6) | def self.clean(str) method initialize (line 14) | def initialize(inputs:, pdf_template_path:, basename:) method write_to_file (line 20) | def write_to_file(flatten: true) method with_fdf_tempfile (line 33) | def with_fdf_tempfile method fdf_template (line 41) | def fdf_template FILE: app/services/followup_export_csv_service.rb class FollowupExportCsvService (line 3) | class FollowupExportCsvService method initialize (line 4) | def initialize(casa_org) method perform (line 8) | def perform method full_data (line 27) | def full_data(followup = nil) FILE: app/services/followup_service.rb class FollowupService (line 1) | class FollowupService method create_followup (line 2) | def self.create_followup(case_contact, creator, note) method send_notification (line 19) | def self.send_notification(followup, creator) FILE: app/services/inactive_messages_service.rb class InactiveMessagesService (line 1) | class InactiveMessagesService method initialize (line 4) | def initialize(supervisor) method calculate_inactive_messages (line 10) | def calculate_inactive_messages(supervisor) FILE: app/services/learning_hours_export_csv_service.rb class LearningHoursExportCsvService (line 3) | class LearningHoursExportCsvService method initialize (line 6) | def initialize(learning_hours) method perform (line 10) | def perform method get_duration (line 21) | def get_duration(learning_hour = nil) method filtered_learning_hours (line 26) | def filtered_learning_hours(learning_hour = nil) FILE: app/services/mileage_export_csv_service.rb class MileageExportCsvService (line 3) | class MileageExportCsvService method initialize (line 4) | def initialize(case_contacts) method perform (line 8) | def perform method full_data (line 21) | def full_data(case_contact = nil) FILE: app/services/missing_data_export_csv_service.rb class MissingDataExportCsvService (line 3) | class MissingDataExportCsvService method initialize (line 6) | def initialize(casa_cases) method perform (line 10) | def perform method has_missing_values? (line 25) | def has_missing_values?(casa_case) method get_status (line 31) | def get_status(missing) method full_data (line 35) | def full_data(casa_case = nil) FILE: app/services/no_contact_made_sms_reminder_service.rb type NoContactMadeSmsReminderService (line 1) | module NoContactMadeSmsReminderService function no_contact_made_reminder (line 8) | def no_contact_made_reminder(user, contact_type) FILE: app/services/placement_export_csv_service.rb class PlacementExportCsvService (line 3) | class PlacementExportCsvService method initialize (line 6) | def initialize(casa_org:) method perform (line 10) | def perform method full_data (line 23) | def full_data(placement = nil) method fetch_placements (line 34) | def fetch_placements FILE: app/services/preference_set_table_state_service.rb class PreferenceSetTableStateService (line 1) | class PreferenceSetTableStateService class TableStateUpdateFailed (line 2) | class TableStateUpdateFailed < StandardError; end method initialize (line 4) | def initialize(user_id:) method table_state (line 8) | def table_state(table_name:) method update! (line 12) | def update!(table_name:, table_state:) method preference_set (line 22) | def preference_set FILE: app/services/short_url_service.rb class ShortUrlService (line 3) | class ShortUrlService method initialize (line 13) | def initialize method create_short_url (line 23) | def create_short_url(original_url = nil) method validate_credentials (line 32) | def validate_credentials FILE: app/services/sms_reminder_service.rb type SmsReminderService (line 1) | module SmsReminderService function send_reminder (line 5) | def send_reminder(user, message) function create_short_link (line 18) | def create_short_link(path) FILE: app/services/svg_sanitizer_service.rb class SvgSanitizerService (line 1) | class SvgSanitizerService method sanitize (line 3) | def sanitize(file) method scrubber (line 17) | def scrubber FILE: app/services/twilio_service.rb class TwilioService (line 4) | class TwilioService method initialize (line 7) | def initialize(casa_org) method client (line 14) | def client # lazy create client only if twilio enabled method enabled? (line 18) | def enabled? method send_sms (line 25) | def send_sms(params) FILE: app/services/volunteer_birthday_reminder_service.rb class VolunteerBirthdayReminderService (line 1) | class VolunteerBirthdayReminderService method send_reminders (line 2) | def send_reminders FILE: app/services/volunteers_emails_export_csv_service.rb class VolunteersEmailsExportCsvService (line 3) | class VolunteersEmailsExportCsvService method initialize (line 6) | def initialize(casa_org) method call (line 10) | def call method full_data (line 21) | def full_data(volunteer = nil) FILE: app/validators/casa_org_validator.rb class CasaOrgValidator (line 1) | class CasaOrgValidator < ActiveModel::Validator method validate (line 4) | def validate(record) method valid_twilio_phone_number (line 10) | def valid_twilio_phone_number(number, record) FILE: app/validators/court_report_validator.rb class CourtReportValidator (line 2) | class CourtReportValidator < ActiveModel::Validator method validate (line 3) | def validate(record) FILE: app/validators/url_validator.rb class UrlValidator (line 1) | class UrlValidator < ActiveModel::EachValidator method validate_each (line 7) | def validate_each(record, attribute, value) method validate_scheme (line 19) | def validate_scheme(uri) method validate_host (line 26) | def validate_host(uri) FILE: app/validators/user_validator.rb class UserValidator (line 1) | class UserValidator < ActiveModel::Validator method validate (line 4) | def validate(record) method valid_phone_number_contents (line 16) | def valid_phone_number_contents(number, record) method validate_presence (line 24) | def validate_presence(attribute, record) method at_least_one_communication_preference_selected (line 33) | def at_least_one_communication_preference_selected(record) method valid_phone_number_if_receive_sms_notifications (line 37) | def valid_phone_number_if_receive_sms_notifications(record) method validate_date_of_birth_in_past (line 43) | def validate_date_of_birth_in_past(date_of_birth, record) method validate_date_of_birth_not_before_1920 (line 49) | def validate_date_of_birth_not_before_1920(date_of_birth, record) method validate_uniqueness (line 55) | def validate_uniqueness(attribute, record, message) FILE: app/values/all_casa_admin_parameters.rb class AllCasaAdminParameters (line 1) | class AllCasaAdminParameters < SimpleDelegator method initialize (line 2) | def initialize(params) method with_password (line 9) | def with_password(password) method params (line 16) | def params FILE: app/values/banner_parameters.rb class BannerParameters (line 2) | class BannerParameters < SimpleDelegator method initialize (line 3) | def initialize(params, user, timezone) method convert_expires_at_with_user_time_zone (line 18) | def convert_expires_at_with_user_time_zone(params, timezone) method params (line 22) | def params FILE: app/values/casa_admin_parameters.rb class CasaAdminParameters (line 1) | class CasaAdminParameters < UserParameters method initialize (line 2) | def initialize(params) FILE: app/values/case_contact_parameters.rb class CaseContactParameters (line 2) | class CaseContactParameters < SimpleDelegator method initialize (line 3) | def initialize(params) method normalize_params (line 28) | def normalize_params(params) method convert_metadata (line 44) | def convert_metadata(metadata) method convert_duration_minutes (line 51) | def convert_duration_minutes(params) method convert_miles_driven (line 58) | def convert_miles_driven(params) method params (line 65) | def params FILE: app/values/supervisor_parameters.rb class SupervisorParameters (line 1) | class SupervisorParameters < UserParameters method initialize (line 2) | def initialize(params) FILE: app/values/user_parameters.rb class UserParameters (line 1) | class UserParameters < SimpleDelegator method initialize (line 2) | def initialize(params, key = :user) method with_organization (line 21) | def with_organization(organization) method with_password (line 26) | def with_password(password) method with_type (line 31) | def with_type(type) method without_type (line 36) | def without_type method without_active (line 41) | def without_active method with_only (line 46) | def with_only(*) method without (line 51) | def without(*keys) method params (line 57) | def params FILE: app/values/volunteer_parameters.rb class VolunteerParameters (line 1) | class VolunteerParameters < UserParameters method initialize (line 4) | def initialize(params) FILE: bin/asset_bundling_scripts/build_js.js method setup (line 11) | setup (build) { function main (line 29) | async function main () { FILE: config/application.rb type Casa (line 9) | module Casa class Application (line 10) | class Application < Rails::Application FILE: config/initializers/all_casa_admin_access.rb class CanAccessFlipperUI (line 1) | class CanAccessFlipperUI method matches? (line 2) | def self.matches?(request) FILE: config/initializers/generators.rb type PolicyGenerator (line 5) | module PolicyGenerator type ControllerGenerator (line 6) | module ControllerGenerator type ScaffoldControllerGenerator (line 17) | module ScaffoldControllerGenerator type ActiveModel (line 30) | module ActiveModel class Railtie (line 31) | class Railtie < Rails::Railtie FILE: config/initializers/rack_attack.rb class Rack::Attack (line 1) | class Rack::Attack FILE: db/migrate/20200329050100_create_casa_cases.rb class CreateCasaCases (line 1) | class CreateCasaCases < ActiveRecord::Migration[6.0] method change (line 2) | def change FILE: db/migrate/20200329062155_devise_create_users.rb class DeviseCreateUsers (line 3) | class DeviseCreateUsers < ActiveRecord::Migration[6.0] method change (line 4) | def change FILE: db/migrate/20200329064203_add_role_to_user.rb class AddRoleToUser (line 1) | class AddRoleToUser < ActiveRecord::Migration[6.0] method change (line 2) | def change FILE: db/migrate/20200329071025_change_casa_case_teen_to_required.rb class ChangeCasaCaseTeenToRequired (line 1) | class ChangeCasaCaseTeenToRequired < ActiveRecord::Migration[6.0] method change (line 2) | def change FILE: db/migrate/20200329071327_change_casa_case_number_to_required.rb class ChangeCasaCaseNumberToRequired (line 1) | class ChangeCasaCaseNumberToRequired < ActiveRecord::Migration[6.0] method change (line 2) | def change FILE: db/migrate/20200329071626_add_unique_index_on_case_case_number.rb class AddUniqueIndexOnCaseCaseNumber (line 1) | class AddUniqueIndexOnCaseCaseNumber < ActiveRecord::Migration[6.0] method change (line 2) | def change FILE: db/migrate/20200329074655_create_supervisor_volunteers.rb class CreateSupervisorVolunteers (line 1) | class CreateSupervisorVolunteers < ActiveRecord::Migration[6.0] method change (line 2) | def change FILE: db/migrate/20200329081206_create_case_assignments.rb class CreateCaseAssignments (line 1) | class CreateCaseAssignments < ActiveRecord::Migration[6.0] method change (line 2) | def change FILE: db/migrate/20200329085225_create_versions.rb class CreateVersions (line 3) | class CreateVersions < ActiveRecord::Migration[6.0] method change (line 10) | def change FILE: db/migrate/20200329095031_create_casa_orgs.rb class CreateCasaOrgs (line 1) | class CreateCasaOrgs < ActiveRecord::Migration[6.0] method change (line 2) | def change FILE: db/migrate/20200329095154_add_casa_org_to_user.rb class AddCasaOrgToUser (line 1) | class AddCasaOrgToUser < ActiveRecord::Migration[6.0] method change (line 2) | def change FILE: db/migrate/20200329102102_devise_create_all_casa_admins.rb class DeviseCreateAllCasaAdmins (line 3) | class DeviseCreateAllCasaAdmins < ActiveRecord::Migration[6.0] method change (line 4) | def change FILE: db/migrate/20200329175337_create_case_contacts.rb class CreateCaseContacts (line 1) | class CreateCaseContacts < ActiveRecord::Migration[6.0] method change (line 2) | def change FILE: db/migrate/20200330231711_add_volunteer_reference_to_casa_cases.rb class AddVolunteerReferenceToCasaCases (line 1) | class AddVolunteerReferenceToCasaCases < ActiveRecord::Migration[6.0] method change (line 2) | def change FILE: db/migrate/20200405112910_remove_volunteer_id_from_casa_case.rb class RemoveVolunteerIdFromCasaCase (line 1) | class RemoveVolunteerIdFromCasaCase < ActiveRecord::Migration[6.0] method change (line 2) | def change FILE: db/migrate/20200420004403_add_medium_type_and_contact_made_to_case_contacts.rb class AddMediumTypeAndContactMadeToCaseContacts (line 1) | class AddMediumTypeAndContactMadeToCaseContacts < ActiveRecord::Migratio... method change (line 2) | def change FILE: db/migrate/20200422180727_replace_contact_type_with_contact_types_on_case_contact.rb class ReplaceContactTypeWithContactTypesOnCaseContact (line 1) | class ReplaceContactTypeWithContactTypesOnCaseContact < ActiveRecord::Mi... method change (line 2) | def change FILE: db/migrate/20200423154018_change_teen_program_to_transition_aged_youth.rb class ChangeTeenProgramToTransitionAgedYouth (line 1) | class ChangeTeenProgramToTransitionAgedYouth < ActiveRecord::Migration[6.0] method change (line 2) | def change FILE: db/migrate/20200423204147_add_name_to_user.rb class AddNameToUser (line 1) | class AddNameToUser < ActiveRecord::Migration[6.0] method change (line 2) | def change FILE: db/migrate/20200525220759_add_driving_fields_to_case_contact.rb class AddDrivingFieldsToCaseContact (line 1) | class AddDrivingFieldsToCaseContact < ActiveRecord::Migration[6.0] method up (line 2) | def up method down (line 12) | def down FILE: db/migrate/20200726185103_devise_invitable_add_to_users.rb class DeviseInvitableAddToUsers (line 1) | class DeviseInvitableAddToUsers < ActiveRecord::Migration[6.0] method up (line 2) | def up method down (line 17) | def down FILE: db/migrate/20200729002247_add_casa_org_to_casa_case.rb class AddCasaOrgToCasaCase (line 1) | class AddCasaOrgToCasaCase < ActiveRecord::Migration[6.0] method change (line 2) | def change FILE: db/migrate/20200801170524_add_type_to_user.rb class User (line 1) | class User < ApplicationRecord class AddTypeToUser (line 5) | class AddTypeToUser < ActiveRecord::Migration[6.0] method up (line 6) | def up method down (line 21) | def down FILE: db/migrate/20200801192923_remove_role_from_user.rb class RemoveRoleFromUser (line 1) | class RemoveRoleFromUser < ActiveRecord::Migration[6.0] method change (line 2) | def change FILE: db/migrate/20200818220659_add_is_active_to_supervisor_volunteers.rb class AddIsActiveToSupervisorVolunteers (line 1) | class AddIsActiveToSupervisorVolunteers < ActiveRecord::Migration[6.0] method change (line 2) | def change FILE: db/migrate/20200830011647_add_notes_to_case_contacts.rb class AddNotesToCaseContacts (line 1) | class AddNotesToCaseContacts < ActiveRecord::Migration[6.0] method change (line 2) | def change FILE: db/migrate/20200905192934_remove_other_type_text_from_case_contacts.rb class RemoveOtherTypeTextFromCaseContacts (line 1) | class RemoveOtherTypeTextFromCaseContacts < ActiveRecord::Migration[6.0] method change (line 2) | def change FILE: db/migrate/20200906145045_add_display_name_to_casa_orgs.rb class AddDisplayNameToCasaOrgs (line 1) | class AddDisplayNameToCasaOrgs < ActiveRecord::Migration[6.0] method change (line 2) | def change FILE: db/migrate/20200906145725_add_address_to_casa_orgs.rb class AddAddressToCasaOrgs (line 1) | class AddAddressToCasaOrgs < ActiveRecord::Migration[6.0] method change (line 2) | def change FILE: db/migrate/20200906145830_add_footer_links_to_casa_orgs.rb class AddFooterLinksToCasaOrgs (line 1) | class AddFooterLinksToCasaOrgs < ActiveRecord::Migration[6.0] method change (line 2) | def change FILE: db/migrate/20200906150641_create_casa_org_logos.rb class CreateCasaOrgLogos (line 1) | class CreateCasaOrgLogos < ActiveRecord::Migration[6.0] method change (line 2) | def change FILE: db/migrate/20200906184455_add_banner_color_to_casa_org_logos.rb class AddBannerColorToCasaOrgLogos (line 1) | class AddBannerColorToCasaOrgLogos < ActiveRecord::Migration[6.0] method change (line 2) | def change FILE: db/migrate/20200907142411_create_task_records.rb class CreateTaskRecords (line 1) | class CreateTaskRecords < ActiveRecord::Migration[6.0] method change (line 2) | def change FILE: db/migrate/20200917175655_add_default_value_to_case_contact_miles_driven.rb class AddDefaultValueToCaseContactMilesDriven (line 1) | class AddDefaultValueToCaseContactMilesDriven < ActiveRecord::Migration[... method up (line 2) | def up method down (line 6) | def down FILE: db/migrate/20200918115741_set_miles_driven_as_not_nullable.rb class SetMilesDrivenAsNotNullable (line 1) | class SetMilesDrivenAsNotNullable < ActiveRecord::Migration[6.0] method up (line 2) | def up method down (line 6) | def down FILE: db/migrate/20200922144730_add_birth_month_year_youth_to_casa_cases.rb class AddBirthMonthYearYouthToCasaCases (line 1) | class AddBirthMonthYearYouthToCasaCases < ActiveRecord::Migration[6.0] method change (line 2) | def change FILE: db/migrate/20200922150754_create_contact_type.rb class CreateContactType (line 1) | class CreateContactType < ActiveRecord::Migration[6.0] method change (line 2) | def change FILE: db/migrate/20200922170308_link_case_contacts_to_contact_types.rb class LinkCaseContactsToContactTypes (line 1) | class LinkCaseContactsToContactTypes < ActiveRecord::Migration[6.0] method change (line 2) | def change FILE: db/migrate/20200924192310_create_casa_case_contact_type.rb class CreateCasaCaseContactType (line 1) | class CreateCasaCaseContactType < ActiveRecord::Migration[6.0] method change (line 2) | def change FILE: db/migrate/20200925180941_add_active_to_contact_type_groups.rb class AddActiveToContactTypeGroups (line 1) | class AddActiveToContactTypeGroups < ActiveRecord::Migration[6.0] method change (line 2) | def change FILE: db/migrate/20200925181042_add_active_to_contact_types.rb class AddActiveToContactTypes (line 1) | class AddActiveToContactTypes < ActiveRecord::Migration[6.0] method change (line 2) | def change FILE: db/migrate/20200928233606_add_court_report_submitted_to_casa_cases.rb class AddCourtReportSubmittedToCasaCases (line 1) | class AddCourtReportSubmittedToCasaCases < ActiveRecord::Migration[6.0] method change (line 2) | def change FILE: db/migrate/20201002192636_add_court_date_to_casa_cases.rb class AddCourtDateToCasaCases (line 1) | class AddCourtDateToCasaCases < ActiveRecord::Migration[6.0] method change (line 2) | def change FILE: db/migrate/20201004165322_add_court_report_due_date_to_casa_cases.rb class AddCourtReportDueDateToCasaCases (line 1) | class AddCourtReportDueDateToCasaCases < ActiveRecord::Migration[6.0] method change (line 2) | def change FILE: db/migrate/20201005191326_create_hearing_types.rb class CreateHearingTypes (line 1) | class CreateHearingTypes < ActiveRecord::Migration[6.0] method change (line 2) | def change FILE: db/migrate/20201013171632_remove_contact_types_from_case_contacts.rb class RemoveContactTypesFromCaseContacts (line 1) | class RemoveContactTypesFromCaseContacts < ActiveRecord::Migration[6.0] method change (line 2) | def change FILE: db/migrate/20201019120548_create_active_storage_tables.active_storage.rb class CreateActiveStorageTables (line 2) | class CreateActiveStorageTables < ActiveRecord::Migration[5.2] method change (line 3) | def change FILE: db/migrate/20201020095451_add_hearing_type_to_court_cases.rb class AddHearingTypeToCourtCases (line 1) | class AddHearingTypeToCourtCases < ActiveRecord::Migration[6.0] method change (line 2) | def change FILE: db/migrate/20201020220412_create_emancipation_categories.rb class CreateEmancipationCategories (line 1) | class CreateEmancipationCategories < ActiveRecord::Migration[6.0] method change (line 2) | def change FILE: db/migrate/20201021024459_create_emancipation_options.rb class CreateEmancipationOptions (line 1) | class CreateEmancipationOptions < ActiveRecord::Migration[6.0] method change (line 2) | def change FILE: db/migrate/20201021034012_create_join_table_casa_cases_emancipaton_options.rb class CreateJoinTableCasaCasesEmancipatonOptions (line 1) | class CreateJoinTableCasaCasesEmancipatonOptions < ActiveRecord::Migrati... method change (line 2) | def change FILE: db/migrate/20201021143642_add_active_column_to_casa_cases_table.rb class AddActiveColumnToCasaCasesTable (line 1) | class AddActiveColumnToCasaCasesTable < ActiveRecord::Migration[6.0] method change (line 2) | def change FILE: db/migrate/20201022034445_add_foreign_key_constraints_to_case_emancipation_join_table.rb class AddForeignKeyConstraintsToCaseEmancipationJoinTable (line 1) | class AddForeignKeyConstraintsToCaseEmancipationJoinTable < ActiveRecord... method change (line 2) | def change FILE: db/migrate/20201023233638_create_judges.rb class CreateJudges (line 1) | class CreateJudges < ActiveRecord::Migration[6.0] method change (line 2) | def change FILE: db/migrate/20201023234325_add_active_to_judge.rb class AddActiveToJudge (line 1) | class AddActiveToJudge < ActiveRecord::Migration[6.0] method change (line 2) | def change FILE: db/migrate/20201024003821_add_name_to_judge.rb class AddNameToJudge (line 1) | class AddNameToJudge < ActiveRecord::Migration[6.0] method change (line 2) | def change FILE: db/migrate/20201024113046_create_past_court_dates.rb class CreatePastCourtDates (line 1) | class CreatePastCourtDates < ActiveRecord::Migration[6.0] method change (line 2) | def change FILE: db/migrate/20201025162142_add_judge_to_court_cases.rb class AddJudgeToCourtCases (line 1) | class AddJudgeToCourtCases < ActiveRecord::Migration[6.0] method change (line 2) | def change FILE: db/migrate/20201108142333_add_court_report_status_to_casa_cases.rb class AddCourtReportStatusToCasaCases (line 1) | class AddCourtReportStatusToCasaCases < ActiveRecord::Migration[6.0] method change (line 2) | def change FILE: db/migrate/20201120103041_remove_remember_created_at_from_users.rb class RemoveRememberCreatedAtFromUsers (line 1) | class RemoveRememberCreatedAtFromUsers < ActiveRecord::Migration[6.0] method change (line 2) | def change FILE: db/migrate/20201120103146_remove_remember_created_at_from_all_casa_admins.rb class RemoveRememberCreatedAtFromAllCasaAdmins (line 1) | class RemoveRememberCreatedAtFromAllCasaAdmins < ActiveRecord::Migration... method change (line 2) | def change FILE: db/migrate/20201120215756_remove_court_report_submitted_from_casa_cases.rb class RemoveCourtReportSubmittedFromCasaCases (line 1) | class RemoveCourtReportSubmittedFromCasaCases < ActiveRecord::Migration[... method change (line 2) | def change FILE: db/migrate/20201123100716_remove_case_number_index_from_casa_cases.rb class RemoveCaseNumberIndexFromCasaCases (line 1) | class RemoveCaseNumberIndexFromCasaCases < ActiveRecord::Migration[6.0] method change (line 2) | def change FILE: db/migrate/20201123112651_add_case_number_index_scoped_by_casa_org_to_casa_cases.rb class AddCaseNumberIndexScopedByCasaOrgToCasaCases (line 1) | class AddCaseNumberIndexScopedByCasaOrgToCasaCases < ActiveRecord::Migra... method change (line 2) | def change FILE: db/migrate/20201222125441_add_service_name_to_active_storage_blobs.active_storage.rb class AddServiceNameToActiveStorageBlobs (line 2) | class AddServiceNameToActiveStorageBlobs < ActiveRecord::Migration[6.0] method up (line 3) | def up method down (line 15) | def down FILE: db/migrate/20201222125442_create_active_storage_variant_records.active_storage.rb class CreateActiveStorageVariantRecords (line 2) | class CreateActiveStorageVariantRecords < ActiveRecord::Migration[6.0] method change (line 3) | def change FILE: db/migrate/20201226024029_create_casa_case_emancipation_categories.rb class CreateCasaCaseEmancipationCategories (line 1) | class CreateCasaCaseEmancipationCategories < ActiveRecord::Migration[6.1] method change (line 2) | def change FILE: db/migrate/20210105155534_create_followups.rb class CreateFollowups (line 1) | class CreateFollowups < ActiveRecord::Migration[6.1] method change (line 2) | def change FILE: db/migrate/20210107181908_add_id_and_timestamps_to_case_emancipation_options_table.rb class AddIdAndTimestampsToCaseEmancipationOptionsTable (line 1) | class AddIdAndTimestampsToCaseEmancipationOptionsTable < ActiveRecord::M... method change (line 2) | def change FILE: db/migrate/20210109231411_drop_casa_org_logos_table.rb class DropCasaOrgLogosTable (line 1) | class DropCasaOrgLogosTable < ActiveRecord::Migration[6.1] method up (line 2) | def up method down (line 6) | def down FILE: db/migrate/20210117185614_create_notifications.rb class CreateNotifications (line 1) | class CreateNotifications < ActiveRecord::Migration[6.1] method change (line 2) | def change FILE: db/migrate/20210223133248_create_case_court_mandates.rb class CreateCaseCourtMandates (line 1) | class CreateCaseCourtMandates < ActiveRecord::Migration[6.1] method change (line 2) | def change FILE: db/migrate/20210308195135_change_is_active_name.rb class ChangeIsActiveName (line 1) | class ChangeIsActiveName < ActiveRecord::Migration[6.1] method change (line 2) | def change FILE: db/migrate/20210330182538_add_devise_trackable_columns_to_users.rb class AddDeviseTrackableColumnsToUsers (line 1) | class AddDeviseTrackableColumnsToUsers < ActiveRecord::Migration[6.1] method change (line 2) | def change FILE: db/migrate/20210401161710_add_deleted_at_to_case_contacts.rb class AddDeletedAtToCaseContacts (line 1) | class AddDeletedAtToCaseContacts < ActiveRecord::Migration[6.1] method change (line 2) | def change FILE: db/migrate/20210401182359_add_implementation_status_to_edit_case_court_mandates.rb class AddImplementationStatusToEditCaseCourtMandates (line 1) | class AddImplementationStatusToEditCaseCourtMandates < ActiveRecord::Mig... method change (line 2) | def change FILE: db/migrate/20210502172706_add_devise_invitable_to_all_casa_admins.rb class AddDeviseInvitableToAllCasaAdmins (line 1) | class AddDeviseInvitableToAllCasaAdmins < ActiveRecord::Migration[6.1] method change (line 2) | def change FILE: db/migrate/20210521151549_add_casa_case_details_to_past_court_dates.rb class AddCasaCaseDetailsToPastCourtDates (line 1) | class AddCasaCaseDetailsToPastCourtDates < ActiveRecord::Migration[6.1] method change (line 2) | def change FILE: db/migrate/20210521194321_add_past_court_date_to_case_court_mandates.rb class AddPastCourtDateToCaseCourtMandates (line 1) | class AddPastCourtDateToCaseCourtMandates < ActiveRecord::Migration[6.1] method change (line 2) | def change FILE: db/migrate/20210526233058_create_sent_emails.rb class CreateSentEmails (line 1) | class CreateSentEmails < ActiveRecord::Migration[6.1] method change (line 2) | def change FILE: db/migrate/20210624125750_add_note_to_followups.rb class AddNoteToFollowups (line 1) | class AddNoteToFollowups < ActiveRecord::Migration[6.1] method change (line 2) | def change FILE: db/migrate/20210913142024_set_display_name_as_not_nullable.rb class SetDisplayNameAsNotNullable (line 1) | class SetDisplayNameAsNotNullable < ActiveRecord::Migration[6.1] method up (line 2) | def up method down (line 6) | def down FILE: db/migrate/20210925140028_add_slug_to_casa_orgs_and_casa_cases.rb class AddSlugToCasaOrgsAndCasaCases (line 1) | class AddSlugToCasaOrgsAndCasaCases < ActiveRecord::Migration[6.1] method change (line 2) | def change FILE: db/migrate/20211001204053_rename_court_mandates_to_court_orders.rb class RenameCourtMandatesToCourtOrders (line 1) | class RenameCourtMandatesToCourtOrders < ActiveRecord::Migration[6.1] method change (line 2) | def change FILE: db/migrate/20211007144114_add_show_driving_reimbursement_to_casa_orgs.rb class AddShowDrivingReimbursementToCasaOrgs (line 1) | class AddShowDrivingReimbursementToCasaOrgs < ActiveRecord::Migration[6.1] method change (line 2) | def change FILE: db/migrate/20211008170357_add_text_to_case_court_orders.rb class AddTextToCaseCourtOrders (line 1) | class AddTextToCaseCourtOrders < ActiveRecord::Migration[6.1] method change (line 2) | def change FILE: db/migrate/20211008170724_migrate_case_court_orders_mandate_text_to_text.rb class MigrateCaseCourtOrdersMandateTextToText (line 1) | class MigrateCaseCourtOrdersMandateTextToText < ActiveRecord::Migration[... method up (line 2) | def up FILE: db/migrate/20211008174527_remove_mandate_text_from_case_court_orders.rb class RemoveMandateTextFromCaseCourtOrders (line 1) | class RemoveMandateTextFromCaseCourtOrders < ActiveRecord::Migration[6.1] method change (line 2) | def change FILE: db/migrate/20211011195857_rename_past_court_date_to_court_date.rb class RenamePastCourtDateToCourtDate (line 1) | class RenamePastCourtDateToCourtDate < ActiveRecord::Migration[6.1] method change (line 2) | def change FILE: db/migrate/20211012180102_change_casa_cases_court_date_to_reference.rb class ChangeCasaCasesCourtDateToReference (line 1) | class ChangeCasaCasesCourtDateToReference < ActiveRecord::Migration[6.1] method up (line 2) | def up FILE: db/migrate/20211023165907_add_reimbursement_complete_to_case_contacts.rb class AddReimbursementCompleteToCaseContacts (line 1) | class AddReimbursementCompleteToCaseContacts < ActiveRecord::Migration[6.1] method change (line 2) | def change FILE: db/migrate/20211024011923_create_mileage_rates.rb class CreateMileageRates (line 1) | class CreateMileageRates < ActiveRecord::Migration[6.1] method change (line 2) | def change FILE: db/migrate/20211024060815_create_preference_sets.rb class CreatePreferenceSets (line 1) | class CreatePreferenceSets < ActiveRecord::Migration[6.1] method change (line 2) | def change FILE: db/migrate/20211025143709_create_healths.rb class CreateHealths (line 1) | class CreateHealths < ActiveRecord::Migration[6.1] method change (line 2) | def change FILE: db/migrate/20211029032305_add_casa_org_to_mileage_rate.rb class AddCasaOrgToMileageRate (line 1) | class AddCasaOrgToMileageRate < ActiveRecord::Migration[6.1] method change (line 2) | def change FILE: db/migrate/20211029033530_remove_user_required_from_mileage_rate.rb class RemoveUserRequiredFromMileageRate (line 1) | class RemoveUserRequiredFromMileageRate < ActiveRecord::Migration[6.1] method change (line 2) | def change FILE: db/migrate/20211203181342_create_additional_expenses.rb class CreateAdditionalExpenses (line 1) | class CreateAdditionalExpenses < ActiveRecord::Migration[6.1] method change (line 2) | def change FILE: db/migrate/20211230033457_create_delayed_jobs.rb class CreateDelayedJobs (line 1) | class CreateDelayedJobs < ActiveRecord::Migration[6.1] method up (line 2) | def self.up method down (line 19) | def self.down FILE: db/migrate/20220105030922_create_feature_flags.rb class CreateFeatureFlags (line 1) | class CreateFeatureFlags < ActiveRecord::Migration[6.1] method change (line 2) | def change FILE: db/migrate/20220127055733_create_notes.rb class CreateNotes (line 1) | class CreateNotes < ActiveRecord::Migration[6.1] method change (line 2) | def change FILE: db/migrate/20220223035901_remove_null_check_deprecated_field.rb class RemoveNullCheckDeprecatedField (line 1) | class RemoveNullCheckDeprecatedField < ActiveRecord::Migration[6.1] method change (line 2) | def change FILE: db/migrate/20220226040507_create_fund_request.rb class CreateFundRequest (line 1) | class CreateFundRequest < ActiveRecord::Migration[6.1] method change (line 2) | def change FILE: db/migrate/20220303183053_create_other_duty.rb class CreateOtherDuty (line 1) | class CreateOtherDuty < ActiveRecord::Migration[6.1] method change (line 2) | def change FILE: db/migrate/20220323145733_remove_not_null_on_active_storage_blobs_checksum.active_storage.rb class RemoveNotNullOnActiveStorageBlobsChecksum (line 2) | class RemoveNotNullOnActiveStorageBlobsChecksum < ActiveRecord::Migratio... method change (line 3) | def change FILE: db/migrate/20220324141758_create_learning_hours.rb class CreateLearningHours (line 1) | class CreateLearningHours < ActiveRecord::Migration[6.1] method change (line 2) | def change FILE: db/migrate/20220402201247_add_phone_number_to_users.rb class AddPhoneNumberToUsers (line 1) | class AddPhoneNumberToUsers < ActiveRecord::Migration[7.0] method change (line 2) | def change FILE: db/migrate/20220406011016_add_sms_notification_preferences_to_users.rb class AddSmsNotificationPreferencesToUsers (line 1) | class AddSmsNotificationPreferencesToUsers < ActiveRecord::Migration[7.0] method change (line 2) | def change FILE: db/migrate/20220406011144_add_email_notification_preferences_to_users.rb class AddEmailNotificationPreferencesToUsers (line 1) | class AddEmailNotificationPreferencesToUsers < ActiveRecord::Migration[7.0] method change (line 2) | def change FILE: db/migrate/20220409184741_add_fund_request.rb class AddFundRequest (line 1) | class AddFundRequest < ActiveRecord::Migration[7.0] method change (line 2) | def change FILE: db/migrate/20220411180242_add_uniqueness_constraint_to_feature_flag_name.rb class AddUniquenessConstraintToFeatureFlagName (line 1) | class AddUniquenessConstraintToFeatureFlagName < ActiveRecord::Migration... method change (line 4) | def change FILE: db/migrate/20220509224425_add_columns_to_casa_orgs.rb class AddColumnsToCasaOrgs (line 1) | class AddColumnsToCasaOrgs < ActiveRecord::Migration[7.0] method change (line 2) | def change FILE: db/migrate/20220513084954_add_date_in_care_to_casa_cases.rb class AddDateInCareToCasaCases (line 1) | class AddDateInCareToCasaCases < ActiveRecord::Migration[7.0] method change (line 2) | def change FILE: db/migrate/20220513111133_delete_versions.rb class DeleteVersions (line 1) | class DeleteVersions < ActiveRecord::Migration[7.0] method up (line 2) | def up method down (line 9) | def down FILE: db/migrate/20220519210423_create_sms_notification_events.rb class CreateSmsNotificationEvents (line 1) | class CreateSmsNotificationEvents < ActiveRecord::Migration[7.0] method change (line 2) | def change FILE: db/migrate/20220519233803_create_user_sms_notification_events.rb class CreateUserSmsNotificationEvents (line 1) | class CreateUserSmsNotificationEvents < ActiveRecord::Migration[7.0] method change (line 2) | def change FILE: db/migrate/20220526011848_create_user_reminder_times.rb class CreateUserReminderTimes (line 1) | class CreateUserReminderTimes < ActiveRecord::Migration[7.0] method change (line 2) | def change FILE: db/migrate/20220602215632_create_addresses.rb class CreateAddresses (line 1) | class CreateAddresses < ActiveRecord::Migration[7.0] method change (line 2) | def change FILE: db/migrate/20220607184910_add_hide_old_contacts_to_case_assignment.rb class AddHideOldContactsToCaseAssignment (line 1) | class AddHideOldContactsToCaseAssignment < ActiveRecord::Migration[7.0] method change (line 2) | def change FILE: db/migrate/20220610221701_create_checklist_items.rb class CreateChecklistItems (line 1) | class CreateChecklistItems < ActiveRecord::Migration[7.0] method change (line 2) | def change FILE: db/migrate/20220615015056_create_patch_note_types.rb class CreatePatchNoteTypes (line 1) | class CreatePatchNoteTypes < ActiveRecord::Migration[7.0] method change (line 2) | def change FILE: db/migrate/20220616021404_add_checklist_updated_date_to_hearing_types.rb class AddChecklistUpdatedDateToHearingTypes (line 1) | class AddChecklistUpdatedDateToHearingTypes < ActiveRecord::Migration[7.0] method change (line 2) | def change FILE: db/migrate/20220618042137_create_patch_note_groups.rb class CreatePatchNoteGroups (line 1) | class CreatePatchNoteGroups < ActiveRecord::Migration[7.0] method change (line 2) | def change FILE: db/migrate/20220622022147_create_patch_notes.rb class CreatePatchNotes (line 1) | class CreatePatchNotes < ActiveRecord::Migration[7.0] method change (line 2) | def change FILE: db/migrate/20220820231119_create_languages.rb class CreateLanguages (line 1) | class CreateLanguages < ActiveRecord::Migration[7.0] method change (line 2) | def change FILE: db/migrate/20220826130829_create_languages_users_join_table.rb class CreateLanguagesUsersJoinTable (line 1) | class CreateLanguagesUsersJoinTable < ActiveRecord::Migration[7.0] method change (line 2) | def change FILE: db/migrate/20220924181447_remove_all_empty_languages.rb class RemoveAllEmptyLanguages (line 1) | class RemoveAllEmptyLanguages < ActiveRecord::Migration[7.0] method up (line 2) | def up FILE: db/migrate/20221002103627_add_user_foreign_key_to_other_duties.rb class AddUserForeignKeyToOtherDuties (line 1) | class AddUserForeignKeyToOtherDuties < ActiveRecord::Migration[7.0] method change (line 2) | def change FILE: db/migrate/20221002103754_validate_add_user_foreign_key_to_other_duties.rb class ValidateAddUserForeignKeyToOtherDuties (line 1) | class ValidateAddUserForeignKeyToOtherDuties < ActiveRecord::Migration[7.0] method change (line 2) | def change FILE: db/migrate/20221003202112_add_court_report_due_date_to_court_dates.rb class AddCourtReportDueDateToCourtDates (line 1) | class AddCourtReportDueDateToCourtDates < ActiveRecord::Migration[7.0] method change (line 2) | def change FILE: db/migrate/20221011044911_add_user_languages.rb class AddUserLanguages (line 1) | class AddUserLanguages < ActiveRecord::Migration[7.0] method change (line 4) | def change FILE: db/migrate/20221012203806_populate_user_languages_from_languages_users.rb class PopulateUserLanguagesFromLanguagesUsers (line 1) | class PopulateUserLanguagesFromLanguagesUsers < ActiveRecord::Migration[... method change (line 2) | def change FILE: db/migrate/20230121174227_remove_court_data_from_casa_cases.rb class RemoveCourtDataFromCasaCases (line 1) | class RemoveCourtDataFromCasaCases < ActiveRecord::Migration[7.0] method change (line 2) | def change FILE: db/migrate/20230220210146_add_phone_number_to_all_casa_admin_resource.rb class AddPhoneNumberToAllCasaAdminResource (line 1) | class AddPhoneNumberToAllCasaAdminResource < ActiveRecord::Migration[7.0] method change (line 2) | def change FILE: db/migrate/20230316152808_remove_phone_number_from_all_casa_admin_resource.rb class RemovePhoneNumberFromAllCasaAdminResource (line 1) | class RemovePhoneNumberFromAllCasaAdminResource < ActiveRecord::Migratio... method change (line 2) | def change FILE: db/migrate/20230326225216_create_placement_types.rb class CreatePlacementTypes (line 1) | class CreatePlacementTypes < ActiveRecord::Migration[7.0] method change (line 2) | def change FILE: db/migrate/20230326225230_create_placements.rb class CreatePlacements (line 1) | class CreatePlacements < ActiveRecord::Migration[7.0] method change (line 2) | def change FILE: db/migrate/20230327154626_add_confirmable_to_users.rb class AddConfirmableToUsers (line 1) | class AddConfirmableToUsers < ActiveRecord::Migration[7.0] method up (line 4) | def up method down (line 17) | def down FILE: db/migrate/20230327155053_add_email_confirmation_and_old_emails_to_users.rb class AddEmailConfirmationAndOldEmailsToUsers (line 1) | class AddEmailConfirmationAndOldEmailsToUsers < ActiveRecord::Migration[... method change (line 2) | def change FILE: db/migrate/20230405202939_remove_email_confirmation_from_users.rb class RemoveEmailConfirmationFromUsers (line 1) | class RemoveEmailConfirmationFromUsers < ActiveRecord::Migration[7.0] method change (line 2) | def change FILE: db/migrate/20230412103356_add_casa_case_to_placements.rb class AddCasaCaseToPlacements (line 1) | class AddCasaCaseToPlacements < ActiveRecord::Migration[7.0] method change (line 4) | def change FILE: db/migrate/20230420212437_add_table_columns_display_to_preference_set.rb class AddTableColumnsDisplayToPreferenceSet (line 1) | class AddTableColumnsDisplayToPreferenceSet < ActiveRecord::Migration[7.0] method change (line 2) | def change FILE: db/migrate/20230610153139_add_receive_reimbursement_email_to_users.rb class AddReceiveReimbursementEmailToUsers (line 1) | class AddReceiveReimbursementEmailToUsers < ActiveRecord::Migration[7.0] method change (line 2) | def change FILE: db/migrate/20230615155223_add_twilio_enabled_to_casa_orgs.rb class AddTwilioEnabledToCasaOrgs (line 1) | class AddTwilioEnabledToCasaOrgs < ActiveRecord::Migration[7.0] method change (line 2) | def change FILE: db/migrate/20230621161252_add_additional_expenses_to_casa_orgs.rb class AddAdditionalExpensesToCasaOrgs (line 1) | class AddAdditionalExpensesToCasaOrgs < ActiveRecord::Migration[7.0] method change (line 2) | def change FILE: db/migrate/20230627210040_add_allow_reimbursement_to_case_assignments.rb class AddAllowReimbursementToCaseAssignments (line 1) | class AddAllowReimbursementToCaseAssignments < ActiveRecord::Migration[7.0] method change (line 2) | def change FILE: db/migrate/20230704123327_add_foreign_key_constraints_to_mileage_rates.rb class AddForeignKeyConstraintsToMileageRates (line 1) | class AddForeignKeyConstraintsToMileageRates < ActiveRecord::Migration[7.0] method change (line 2) | def change FILE: db/migrate/20230710025852_add_token_to_users.rb class AddTokenToUsers (line 1) | class AddTokenToUsers < ActiveRecord::Migration[7.0] method up (line 2) | def up method down (line 6) | def down FILE: db/migrate/20230712080040_add_foreign_key_creator_id_to_note.rb class AddForeignKeyCreatorIdToNote (line 1) | class AddForeignKeyCreatorIdToNote < ActiveRecord::Migration[7.0] method up (line 2) | def up method down (line 6) | def down FILE: db/migrate/20230728135743_create_action_text_tables.action_text.rb class CreateActionTextTables (line 2) | class CreateActionTextTables < ActiveRecord::Migration[6.0] method change (line 3) | def change method primary_and_foreign_key_types (line 20) | def primary_and_foreign_key_types FILE: db/migrate/20230728140249_create_banners.rb class CreateBanners (line 1) | class CreateBanners < ActiveRecord::Migration[7.0] method change (line 2) | def change FILE: db/migrate/20230729143126_create_learning_hour_types.rb class CreateLearningHourTypes (line 1) | class CreateLearningHourTypes < ActiveRecord::Migration[7.0] method change (line 2) | def change FILE: db/migrate/20230729145310_add_reference_learning_hour_types.rb class AddReferenceLearningHourTypes (line 1) | class AddReferenceLearningHourTypes < ActiveRecord::Migration[7.0] method change (line 4) | def change FILE: db/migrate/20230729145351_add_foreign_key_learning_hour_types.rb class AddForeignKeyLearningHourTypes (line 1) | class AddForeignKeyLearningHourTypes < ActiveRecord::Migration[7.0] method change (line 2) | def change FILE: db/migrate/20230729145419_validate_foreign_key_learning_hour_types.rb class ValidateForeignKeyLearningHourTypes (line 1) | class ValidateForeignKeyLearningHourTypes < ActiveRecord::Migration[7.0] method change (line 2) | def change FILE: db/migrate/20230729154529_create_case_groups.rb class CreateCaseGroups (line 1) | class CreateCaseGroups < ActiveRecord::Migration[7.0] method change (line 2) | def change FILE: db/migrate/20230729154545_create_case_group_memberships.rb class CreateCaseGroupMemberships (line 1) | class CreateCaseGroupMemberships < ActiveRecord::Migration[7.0] method change (line 2) | def change FILE: db/migrate/20230729213608_remove_hearing_type_id_and_judge_id_from_casa_cases.rb class RemoveHearingTypeIdAndJudgeIdFromCasaCases (line 1) | class RemoveHearingTypeIdAndJudgeIdFromCasaCases < ActiveRecord::Migrati... method change (line 2) | def change FILE: db/migrate/20230730103110_remove_learning_type.rb class RemoveLearningType (line 1) | class RemoveLearningType < ActiveRecord::Migration[7.0] method change (line 2) | def change FILE: db/migrate/20230809002819_drop_languages_users.rb class DropLanguagesUsers (line 1) | class DropLanguagesUsers < ActiveRecord::Migration[7.0] method up (line 2) | def up method down (line 6) | def down FILE: db/migrate/20230817144910_create_learning_hour_topics.rb class CreateLearningHourTopics (line 1) | class CreateLearningHourTopics < ActiveRecord::Migration[7.0] method change (line 2) | def change FILE: db/migrate/20230819124840_add_learning_hour_topic_id_to_learning_hour.rb class AddLearningHourTopicIdToLearningHour (line 1) | class AddLearningHourTopicIdToLearningHour < ActiveRecord::Migration[7.0] method change (line 4) | def change FILE: db/migrate/20230819132316_add_learning_topic_active_to_casa_org.rb class AddLearningTopicActiveToCasaOrg (line 1) | class AddLearningTopicActiveToCasaOrg < ActiveRecord::Migration[7.0] method change (line 2) | def change FILE: db/migrate/20230822152341_drop_jwt_denylist_table.rb class DropJwtDenylistTable (line 1) | class DropJwtDenylistTable < ActiveRecord::Migration[7.0] method change (line 2) | def change FILE: db/migrate/20230902021531_add_monthly_learning_hours_report_to_user.rb class AddMonthlyLearningHoursReportToUser (line 1) | class AddMonthlyLearningHoursReportToUser < ActiveRecord::Migration[7.0] method change (line 2) | def change FILE: db/migrate/20230903182657_add_foreign_key_casa_case_to_placement.rb class AddForeignKeyCasaCaseToPlacement (line 1) | class AddForeignKeyCasaCaseToPlacement < ActiveRecord::Migration[7.0] method change (line 2) | def change FILE: db/migrate/20231102181027_add_birthdays_to_users.rb class AddBirthdaysToUsers (line 1) | class AddBirthdaysToUsers < ActiveRecord::Migration[7.0] method change (line 2) | def change FILE: db/migrate/20231125150721_status_for_case_contacts.rb class StatusForCaseContacts (line 1) | class StatusForCaseContacts < ActiveRecord::Migration[7.0] method change (line 2) | def change FILE: db/migrate/20240216013254_add_contact_topics.rb class AddContactTopics (line 1) | class AddContactTopics < ActiveRecord::Migration[7.1] method change (line 2) | def change FILE: db/migrate/20240415160842_add_followupable_to_followups.rb class AddFollowupableToFollowups (line 1) | class AddFollowupableToFollowups < ActiveRecord::Migration[7.1] method change (line 11) | def change FILE: db/migrate/20240507022441_create_login_activities.rb class CreateLoginActivities (line 1) | class CreateLoginActivities < ActiveRecord::Migration[7.1] method change (line 2) | def change FILE: db/migrate/20240509104733_create_noticed_tables.noticed.rb class CreateNoticedTables (line 2) | class CreateNoticedTables < ActiveRecord::Migration[6.1] method change (line 3) | def change method primary_and_foreign_key_types (line 30) | def primary_and_foreign_key_types FILE: db/migrate/20240509104734_add_notifications_count_to_noticed_event.noticed.rb class AddNotificationsCountToNoticedEvent (line 2) | class AddNotificationsCountToNoticedEvent < ActiveRecord::Migration[6.1] method change (line 3) | def change FILE: db/migrate/20240531172823_add_expires_at_to_banner.rb class AddExpiresAtToBanner (line 1) | class AddExpiresAtToBanner < ActiveRecord::Migration[7.1] method change (line 2) | def change FILE: db/migrate/20240610071054_add_other_duties_enabled_to_casa_org.rb class AddOtherDutiesEnabledToCasaOrg (line 1) | class AddOtherDutiesEnabledToCasaOrg < ActiveRecord::Migration[7.1] method change (line 2) | def change FILE: db/migrate/20240621165358_create_flipper_tables.rb class CreateFlipperTables (line 1) | class CreateFlipperTables < ActiveRecord::Migration[7.1] method up (line 2) | def up method down (line 18) | def down FILE: db/migrate/20240622020203_drop_feature_flags.rb class DropFeatureFlags (line 1) | class DropFeatureFlags < ActiveRecord::Migration[7.1] method up (line 2) | def up method down (line 6) | def down FILE: db/migrate/20240716194609_add_metadata_to_case_contacts.rb class AddMetadataToCaseContacts (line 1) | class AddMetadataToCaseContacts < ActiveRecord::Migration[7.1] method change (line 2) | def change FILE: db/migrate/20241017050129_remove_contact_topic_answer_contact_topic_id_null_constraint.rb class RemoveContactTopicAnswerContactTopicIdNullConstraint (line 1) | class RemoveContactTopicAnswerContactTopicIdNullConstraint < ActiveRecor... method change (line 2) | def change FILE: db/migrate/20250207080433_remove_token_from_users.rb class RemoveTokenFromUsers (line 1) | class RemoveTokenFromUsers < ActiveRecord::Migration[7.2] method change (line 2) | def change FILE: db/migrate/20250207080511_create_api_credentials.rb class CreateApiCredentials (line 1) | class CreateApiCredentials < ActiveRecord::Migration[7.2] method change (line 2) | def change FILE: db/migrate/20250208160513_remove_plain_text_tokens_from_api_credentials.rb class RemovePlainTextTokensFromApiCredentials (line 1) | class RemovePlainTextTokensFromApiCredentials < ActiveRecord::Migration[... method change (line 2) | def change FILE: db/migrate/20250331032424_validate_constraint_mileage_rates.rb class ValidateConstraintMileageRates (line 1) | class ValidateConstraintMileageRates < ActiveRecord::Migration[7.2] method up (line 2) | def up method down (line 6) | def down FILE: db/migrate/20250331033339_validate_constraint_notes.rb class ValidateConstraintNotes (line 1) | class ValidateConstraintNotes < ActiveRecord::Migration[7.2] method up (line 2) | def up method down (line 6) | def down FILE: db/migrate/20250331033350_validate_constraint_placements.rb class ValidateConstraintPlacements (line 1) | class ValidateConstraintPlacements < ActiveRecord::Migration[7.2] method up (line 2) | def up method down (line 6) | def down FILE: db/migrate/20250331033418_remove_duplicate_indexindex_emancipation_options_on_emancipation_category_id.rb class RemoveDuplicateIndexindexEmancipationOptionsOnEmancipationCategoryId (line 1) | class RemoveDuplicateIndexindexEmancipationOptionsOnEmancipationCategory... method change (line 2) | def change FILE: db/migrate/20250331033441_remove_duplicate_indexindex_user_languages_on_language_id.rb class RemoveDuplicateIndexindexUserLanguagesOnLanguageId (line 1) | class RemoveDuplicateIndexindexUserLanguagesOnLanguageId < ActiveRecord:... method change (line 2) | def change FILE: db/migrate/20250404200715_create_custom_org_links.rb class CreateCustomOrgLinks (line 1) | class CreateCustomOrgLinks < ActiveRecord::Migration[7.2] method change (line 2) | def change FILE: db/migrate/20250507011754_remove_unused_indexes.rb class RemoveUnusedIndexes (line 1) | class RemoveUnusedIndexes < ActiveRecord::Migration[7.2] method change (line 2) | def change FILE: db/migrate/20250528092341_trim_whitespace_from_custom_org_links.rb class TrimWhitespaceFromCustomOrgLinks (line 1) | class TrimWhitespaceFromCustomOrgLinks < ActiveRecord::Migration[7.2] method up (line 2) | def up method down (line 11) | def down FILE: db/migrate/20250702142004_add_exclude_from_court_report_to_contact_topics.rb class AddExcludeFromCourtReportToContactTopics (line 1) | class AddExcludeFromCourtReportToContactTopics < ActiveRecord::Migration... method change (line 2) | def change FILE: db/migrate/20260210233737_rename_casa_cases_emancipaton_options_to_casa_case_emancipaton_options.rb class RenameCasaCasesEmancipatonOptionsToCasaCaseEmancipatonOptions (line 1) | class RenameCasaCasesEmancipatonOptionsToCasaCaseEmancipatonOptions < Ac... method change (line 2) | def change FILE: db/migrate/20260211001655_rename_casa_cases_emancipaton_options_to_casa_case_emancipaton_options_follow_up.rb class RenameCasaCasesEmancipatonOptionsToCasaCaseEmancipatonOptionsFollowUp (line 1) | class RenameCasaCasesEmancipatonOptionsToCasaCaseEmancipatonOptionsFollo... method up (line 2) | def up method down (line 9) | def down FILE: db/migrate/20260414132818_add_deleted_at_to_contact_topic_answers.rb class AddDeletedAtToContactTopicAnswers (line 1) | class AddDeletedAtToContactTopicAnswers < ActiveRecord::Migration[7.2] method change (line 2) | def change FILE: db/seeds.rb class SeederMain (line 16) | class SeederMain method initialize (line 19) | def initialize method seed (line 27) | def seed method active_record_classes (line 58) | def active_record_classes method post_process_data (line 89) | def post_process_data method get_seed_specification (line 95) | def get_seed_specification method report_object_counts (line 111) | def report_object_counts method log (line 119) | def log(message) method create_org_related_data (line 125) | def create_org_related_data(db_populator, casa_org, options) FILE: db/seeds/casa_org_populator_presets.rb type CasaOrgPopulatorPresets (line 3) | module CasaOrgPopulatorPresets function minimal_dataset_options (line 6) | def minimal_dataset_options function small_dataset_options (line 15) | def small_dataset_options function medium_dataset_options (line 24) | def medium_dataset_options function large_dataset_options (line 33) | def large_dataset_options function for_environment (line 42) | def for_environment FILE: db/seeds/db_populator.rb class DbPopulator (line 6) | class DbPopulator method initialize (line 17) | def initialize(random_instance, case_fourteen_years_old: false) method create_all_casa_admin (line 24) | def create_all_casa_admin(email) method create_org (line 29) | def create_org(options) method create_judges (line 47) | def create_judges(casa_org) method create_users (line 53) | def create_users(casa_org, options) method create_other_duties (line 96) | def create_other_duties method create_case_contacts (line 110) | def create_case_contacts(casa_case) method create_case_contact (line 121) | def create_case_contact(casa_case, status: "active") method create_cases (line 135) | def create_cases(casa_org, options) method create_hearing_types (line 230) | def create_hearing_types(casa_org) method create_checklist_items (line 258) | def create_checklist_items method create_languages (line 282) | def create_languages(casa_org) method create_language (line 291) | def create_language(name, casa_org) method create_mileage_rates (line 295) | def create_mileage_rates(casa_org) method create_learning_hour_types (line 315) | def create_learning_hour_types(casa_org) method create_learning_hour_topics (line 325) | def create_learning_hour_topics(casa_org) method create_learning_hours (line 333) | def create_learning_hours(casa_org) method most_recent_past_court_date (line 358) | def most_recent_past_court_date(casa_case_id) method case_contact_before_last_court_date? (line 366) | def case_contact_before_last_court_date?(casa_case_id, date) method case_contact_after_last_court_date? (line 374) | def case_contact_after_last_court_date?(case_case_id, date) method order_choices (line 382) | def order_choices method transition_aged_youth? (line 398) | def transition_aged_youth?(birth_month_year_youth) method base_case_contact_params (line 402) | def base_case_contact_params(casa_case, status) method random_case_contact_count (line 419) | def random_case_contact_count method random_past_court_date_count (line 424) | def random_past_court_date_count method random_zero_one_count (line 429) | def random_zero_one_count method random_court_order_count (line 434) | def random_court_order_count method likely_contact_durations (line 439) | def likely_contact_durations method note_generator (line 443) | def note_generator method generate_case_number (line 450) | def generate_case_number method generate_court_date (line 458) | def generate_court_date method random_true_false (line 462) | def random_true_false FILE: db/seeds/emancipation_options_prune.rb function get_category_by_name (line 1) | def get_category_by_name(category_name) FILE: lib/ext/pdf_forms.rb type Ext (line 1) | module Ext type PdfForms (line 2) | module PdfForms function fill_form_with_fdf (line 6) | def fill_form_with_fdf(template, destination, fdf_path, fill_options... function pdftk_arguments (line 18) | def pdftk_arguments(template, destination, fdf_path, flatten:) FILE: lib/generators/rails/policy/policy_generator.rb class Rails::PolicyGenerator (line 2) | class Rails::PolicyGenerator < Rails::Generators::NamedBase method create_policy (line 13) | def create_policy method create_policy_spec (line 17) | def create_policy_spec FILE: lib/mailers/debug_preview_mailer.rb class DebugPreviewMailer (line 1) | class DebugPreviewMailer < ActionMailer::Base method invalid_user (line 2) | def invalid_user(role) FILE: lib/mailers/previews/casa_admin_mailer_preview.rb class CasaAdminMailerPreview (line 2) | class CasaAdminMailerPreview < ActionMailer::Preview method account_setup (line 3) | def account_setup method deactivation (line 12) | def deactivation FILE: lib/mailers/previews/concerns/mailer_preview.rb type MailerPreview (line 1) | module MailerPreview function preview_linkable (line 4) | def preview_linkable(record) FILE: lib/mailers/previews/devise_mailer_preview.rb class DeviseMailerPreview (line 4) | class DeviseMailerPreview < ActionMailer::Preview method reset_password_instructions (line 5) | def reset_password_instructions method invitation_instructions_as_all_casa_admin (line 14) | def invitation_instructions_as_all_casa_admin method invitation_instructions_as_casa_admin (line 20) | def invitation_instructions_as_casa_admin method invitation_instructions_as_supervisor (line 26) | def invitation_instructions_as_supervisor method invitation_instructions_as_volunteer (line 32) | def invitation_instructions_as_volunteer method update_invitation_sent_at (line 42) | def update_invitation_sent_at(model) method preview (line 47) | def preview(model) method email_changed (line 51) | def email_changed method password_change (line 56) | def password_change FILE: lib/mailers/previews/fund_request_mailer_preview.rb class FundRequestMailerPreview (line 5) | class FundRequestMailerPreview < ActionMailer::Preview method send_request (line 6) | def send_request FILE: lib/mailers/previews/learning_hours_mailer_preview.rb class LearningHoursMailerPreview (line 3) | class LearningHoursMailerPreview < ActionMailer::Preview method learning_hours_report_email (line 4) | def learning_hours_report_email FILE: lib/mailers/previews/supervisor_mailer_preview.rb class SupervisorMailerPreview (line 5) | class SupervisorMailerPreview < ActionMailer::Preview method account_setup (line 6) | def account_setup method weekly_digest_no_volunteers (line 15) | def weekly_digest_no_volunteers method weekly_digest_more_data (line 24) | def weekly_digest_more_data method weekly_digest (line 33) | def weekly_digest method reimbursement_request_email (line 42) | def reimbursement_request_email FILE: lib/mailers/previews/volunteer_mailer_preview.rb class VolunteerMailerPreview (line 4) | class VolunteerMailerPreview < ActionMailer::Preview method account_setup (line 5) | def account_setup method court_report_reminder (line 14) | def court_report_reminder method case_contacts_reminder (line 23) | def case_contacts_reminder FILE: lib/tasks/case_contact_types_reminder.rb class CaseContactTypesReminder (line 1) | class CaseContactTypesReminder method send! (line 6) | def send! method uncontacted_case_contact_types (line 33) | def uncontacted_case_contact_types(volunteer) method send_sms_messages (line 38) | def send_sms_messages(volunteer, uncontacted_case_contact_type_names) method valid_casa_twilio_creds (line 65) | def valid_casa_twilio_creds(casa_org) method last_reminder_within_quarter (line 69) | def last_reminder_within_quarter(volunteer) method new_case_contact_page_short_link (line 79) | def new_case_contact_page_short_link FILE: lib/tasks/data_post_processors/case_contact_populator.rb type CaseContactPopulator (line 1) | module CaseContactPopulator function populate (line 2) | def self.populate FILE: lib/tasks/data_post_processors/contact_topic_populator.rb type ContactTopicPopulator (line 1) | module ContactTopicPopulator function populate (line 2) | def self.populate FILE: lib/tasks/data_post_processors/contact_type_populator.rb type ContactTypePopulator (line 1) | module ContactTypePopulator function populate (line 2) | def self.populate FILE: lib/tasks/data_post_processors/sms_notification_event_populator.rb type SmsNotificationEventPopulator (line 1) | module SmsNotificationEventPopulator function populate (line 8) | def self.populate FILE: lib/tasks/deployment/20220902180609_populate_languages.rake function create_languages (line 16) | def create_languages(casa_org) function create_language (line 25) | def create_language(name, casa_org) FILE: lib/tasks/deployment/20240604121427_migrate_notifications.rake class Notification (line 2) | class Notification < ActiveRecord::Base FILE: lib/tasks/example_recurring_task.rb class ExampleRecurringTask (line 1) | class ExampleRecurringTask method perform (line 7) | def perform FILE: lib/tasks/no_contact_made_reminder.rb class NoContactMadeReminder (line 1) | class NoContactMadeReminder method send! (line 2) | def send! method send_reminders (line 18) | def send_reminders(volunteer) method get_contact_types_in_past_2_weeks (line 36) | def get_contact_types_in_past_2_weeks(volunteer, contact_made) method valid_past_reminders (line 40) | def valid_past_reminders(volunteer) FILE: lib/tasks/supervisor_weekly_digest.rb class SupervisorWeeklyDigest (line 1) | class SupervisorWeeklyDigest method send! (line 2) | def send! FILE: lib/tasks/test_checker.rake function deny_filespec (line 6) | def deny_filespec function dashed_line (line 10) | def dashed_line function amazing_printize (line 18) | def amazing_printize(object) function top_level_dir (line 23) | def top_level_dir(name) function ruby_files (line 28) | def ruby_files(dir) function app_dir (line 34) | def app_dir function spec_dir (line 39) | def spec_dir function app_files (line 44) | def app_files function spec_files (line 49) | def spec_files function ignore_files (line 60) | def ignore_files function missing_spec_files (line 67) | def missing_spec_files function missing_and_not_denied_spec_files (line 71) | def missing_and_not_denied_spec_files function missing_but_denied_files (line 75) | def missing_but_denied_files function output_missing_but_denied (line 79) | def output_missing_but_denied function output_missing_and_not_denied (line 91) | def output_missing_and_not_denied FILE: scripts/import_casa_case_date_of_birth.rb function update_casa_case_birth_month_year_youth (line 12) | def update_casa_case_birth_month_year_youth(casa_case, new_date) function dates_match (line 16) | def dates_match(casa_case, new_date) function update_casa_case_dates_of_birth (line 20) | def update_casa_case_dates_of_birth(data, case_not_found, already_has_no... function process_casa_case_date (line 36) | def process_casa_case_date(cc, import_date, case_number, already_has_non... FILE: spec/components/previews/truncated_text_component_preview.rb class TruncatedTextComponentPreview (line 1) | class TruncatedTextComponentPreview < ViewComponent::Preview method default (line 2) | def default FILE: spec/config/initializers/rack_attack_spec.rb function app (line 26) | def app FILE: spec/controllers/application_controller_spec.rb function index (line 8) | def index function handle_short_url (line 14) | def handle_short_url(url_list) function store_referring_location (line 18) | def store_referring_location function not_authorized_error (line 22) | def not_authorized_error function unknown_organization (line 26) | def unknown_organization FILE: spec/controllers/concerns/accessible_spec.rb class MockController (line 3) | class MockController < ApplicationController method action (line 6) | def action method no_session_action (line 10) | def no_session_action FILE: spec/controllers/concerns/court_date_params_spec.rb function initialize (line 10) | def initialize(params) FILE: spec/controllers/concerns/organizational_spec.rb class MockController (line 3) | class MockController < ApplicationController FILE: spec/controllers/concerns/users/time_zone_spec.rb class MockController (line 3) | class MockController < ApplicationController FILE: spec/controllers/emancipations_controller_spec.rb function post_save (line 61) | def post_save(action, check_item_id, case_id: casa_case.friendly_id) function json_response (line 237) | def json_response FILE: spec/documents/templates/prince_george_report_template_spec.rb function extract_document_xml (line 11) | def extract_document_xml(docx_path) function find_contacts_table (line 18) | def find_contacts_table(doc) FILE: spec/models/case_court_report_context_spec.rb function build_context (line 369) | def build_context(start_date:, end_date:, court_date:, time_zone:) function zone_days_ago (line 381) | def zone_days_ago(days) function days_ago (line 385) | def days_ago(days) FILE: spec/models/case_court_report_spec.rb function generate_doc (line 482) | def generate_doc(context, path_to_template) FILE: spec/requests/api/v1/base_spec.rb function index (line 6) | def index FILE: spec/requests/case_contact_reports_spec.rb function case_contact_report_params (line 137) | def case_contact_report_params FILE: spec/requests/case_contacts/case_contacts_new_design_spec.rb function post_datatable (line 273) | def post_datatable function row_for (line 277) | def row_for(contact_id) FILE: spec/requests/health_spec.rb function setup (line 50) | def setup function setup (line 102) | def setup FILE: spec/seeds/seeds_spec.rb function empty_ar_classes (line 4) | def empty_ar_classes FILE: spec/services/case_contacts_export_csv_service_spec.rb function filtered_columns (line 124) | def filtered_columns function expected_headers (line 128) | def expected_headers FILE: spec/services/failed_import_csv_service_spec.rb function create_file (line 17) | def create_file(content: csv_string, mtime: Time.current) FILE: spec/support/api_helper.rb type ApiHelper (line 1) | module ApiHelper function app (line 4) | def app FILE: spec/support/case_court_report_helpers.rb type CaseCourtReportHelpers (line 4) | module CaseCourtReportHelpers function open_court_report_modal (line 7) | def open_court_report_modal function open_case_select2_dropdown (line 14) | def open_case_select2_dropdown FILE: spec/support/datatable_helper.rb type DatatableHelper (line 1) | module DatatableHelper function datatable_params (line 2) | def datatable_params(order_by:, additional_filters: {}, order_directio... function described_class (line 19) | def described_class function escaped (line 26) | def escaped(value) FILE: spec/support/download_helpers.rb type DownloadHelpers (line 1) | module DownloadHelpers function downloads (line 5) | def downloads function download (line 9) | def download function download_content (line 13) | def download_content function download_docx (line 18) | def download_docx function header_text (line 23) | def header_text(download_docx) function table_text (line 34) | def table_text(download_docx) function download_file_name (line 38) | def download_file_name function wait_for_download (line 42) | def wait_for_download function downloaded? (line 48) | def downloaded? function downloading? (line 52) | def downloading? function clear_downloads (line 56) | def clear_downloads FILE: spec/support/factory_bot.rb function described_class_factory (line 3) | def described_class_factory FILE: spec/support/fill_in_case_contact_fields.rb type FillInCaseContactFields (line 1) | module FillInCaseContactFields function fill_in_contact_details (line 10) | def fill_in_contact_details(case_numbers: [], contact_types: [], conta... function fill_in_notes (line 55) | def fill_in_notes(notes: nil, contact_topic_answers_attrs: []) function fill_in_mileage (line 72) | def fill_in_mileage(miles: 0, want_reimbursement: false, address: nil) function choose_medium (line 83) | def choose_medium(medium) function check_reimbursement (line 87) | def check_reimbursement(want_reimbursement = true) function fill_expense_fields (line 95) | def fill_expense_fields(amount, describe, index: nil) function answer_topic (line 104) | def answer_topic(question, answer, index: nil) function answer_topic_unscoped (line 113) | def answer_topic_unscoped(question, answer, index: nil) FILE: spec/support/pretender_context.rb type PretenderContext (line 1) | module PretenderContext function true_user (line 2) | def true_user FILE: spec/support/prosopite.rb function create (line 38) | def create(*args, **kwargs, &block) function use_prosopite? (line 64) | def use_prosopite?(example) FILE: spec/support/pundit_helper.rb type PunditHelper (line 1) | module PunditHelper function enable_pundit (line 2) | def enable_pundit(view, user) FILE: spec/support/request_helpers.rb type Support (line 1) | module Support type RequestHelpers (line 2) | module RequestHelpers function response_json (line 3) | def response_json FILE: spec/support/session_helper.rb type SessionHelper (line 1) | module SessionHelper function sign_in_as_admin (line 2) | def sign_in_as_admin function sign_in_as_volunteer (line 6) | def sign_in_as_volunteer function sign_in_as_supervisor (line 11) | def sign_in_as_supervisor function sign_in_as_all_casa_admin (line 16) | def sign_in_as_all_casa_admin FILE: spec/support/stubbed_requests/short_io_api.rb type ShortIOAPI (line 1) | module ShortIOAPI function short_io_stub (line 2) | def short_io_stub(base_url = "https://www.google.com") function short_io_stub_sms (line 17) | def short_io_stub_sms function short_io_error_stub (line 31) | def short_io_error_stub function short_io_stub_localhost (line 39) | def short_io_stub_localhost(base_url = "http://localhost:3000/case_con... function short_io_court_report_due_date_stub (line 54) | def short_io_court_report_due_date_stub(base_url = "http://localhost:3... FILE: spec/support/stubbed_requests/twilio_api.rb type TwilioAPI (line 1) | module TwilioAPI function twilio_success_stub_messages_60_days (line 2) | def twilio_success_stub_messages_60_days function twilio_success_stub (line 15) | def twilio_success_stub function twilio_activation_success_stub (line 27) | def twilio_activation_success_stub(resource = "") function twilio_activation_error_stub (line 38) | def twilio_activation_error_stub(resource = "") function twilio_court_report_due_date_stub (line 49) | def twilio_court_report_due_date_stub(resource = "") function twilio_no_contact_made_stub (line 62) | def twilio_no_contact_made_stub(resource = "") function twilio_password_reset_stub (line 74) | def twilio_password_reset_stub(resource) FILE: spec/support/stubbed_requests/webmock_helper.rb class WebMockHelper (line 4) | class WebMockHelper FILE: spec/support/twilio_helper.rb type TwilioHelper (line 1) | module TwilioHelper function stub_twilio (line 2) | def stub_twilio FILE: spec/support/user_input_helpers.rb class UserInputHelpers (line 1) | class UserInputHelpers FILE: spec/system/all_casa_admins/edit_spec.rb function expect_password_section_hidden (line 25) | def expect_password_section_hidden function expect_password_section_visible (line 29) | def expect_password_section_visible FILE: spec/system/casa_cases/edit_spec.rb function sign_in_and_assign_volunteer (line 310) | def sign_in_and_assign_volunteer FILE: spec/system/case_contacts/contact_topic_answers_spec.rb function notes_section (line 26) | def notes_section FILE: spec/system/devise/passwords/new_spec.rb function reset_password_link (line 100) | def reset_password_link(email_address) FILE: spec/system/judges/new_spec.rb function submit_judge_form (line 81) | def submit_judge_form(name:, active: true) FILE: spec/system/reports/index_spec.rb function select_report_filter_option (line 209) | def select_report_filter_option(select_id, option) function set_report_date_range (line 214) | def set_report_date_range(start_date:, end_date:) function choose_report_radio_option (line 219) | def choose_report_radio_option(field_name, value)