• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

uclibs / treatment_database / 18559ad8-9240-4d18-b0f3-c3e99907385b

14 Oct 2024 06:23PM UTC coverage: 98.841% (+21.3%) from 77.543%
18559ad8-9240-4d18-b0f3-c3e99907385b

push

circleci

Thomas Scherz
Merge branch 'qa'

101 of 103 branches covered (98.06%)

Branch coverage included in aggregate %.

17 of 23 new or added lines in 5 files covered. (73.91%)

100 existing lines in 14 files now uncovered.

496 of 501 relevant lines covered (99.0%)

42.83 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

100.0
/app/controllers/application_controller.rb
1
# frozen_string_literal: true
2

3
class ApplicationController < ActionController::Base
4✔
4
  include Pagy::Backend
4✔
5
  before_action :configure_permitted_parameters, if: :devise_controller?
4✔
6
  before_action :set_paper_trail_whodunnit
4✔
7

8
  rescue_from CanCan::AccessDenied do |exception|
4✔
UNCOV
9
    flash[:notice] = exception.message
3✔
UNCOV
10
    redirect_to root_url
3✔
11
  end
12

13
  protected
4✔
14

15
  def configure_permitted_parameters
4✔
16
    devise_parameter_sanitizer.permit(:sign_up, keys: [:display_name])
23✔
17
    devise_parameter_sanitizer.permit(:account_update, keys: [:role])
23✔
18
  end
19
end
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc