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

pulibrary / pdc_describe / 4e4e59fc-9df4-4838-9fd4-6c7ea33cdb7c

07 Apr 2025 06:36PM UTC coverage: 1.283% (-94.6%) from 95.862%
4e4e59fc-9df4-4838-9fd4-6c7ea33cdb7c

Pull #1994

circleci

hectorcorrea
Switched to use the autocomplete that we aleady use for ROR. Integrated it with the existing logic for creators
Pull Request #1994: Started adding auto complete to contributors

0 of 46 new or added lines in 2 files covered. (0.0%)

4806 existing lines in 74 files now uncovered.

65 of 5065 relevant lines covered (1.28%)

0.01 hits per line

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

0.0
/app/models/role.rb
1
# frozen_string_literal: true
2
#  Code was autogenerated by running `rails g rolify Role User`
UNCOV
3
class Role < ApplicationRecord
×
4
  # rubocop:disable Rails/HasAndBelongsToMany
5
  #  Had to put the generated code back.  The rubocop reccomended code did not allow for deletes
UNCOV
6
  has_and_belongs_to_many :users, join_table: :users_roles
×
7
  # rubocop:enable Rails/HasAndBelongsToMany
8

UNCOV
9
  belongs_to :resource,
×
UNCOV
10
             polymorphic: true,
×
UNCOV
11
             optional: true
×
12

UNCOV
13
  validates :resource_type,
×
UNCOV
14
            inclusion: { in: Rolify.resource_types },
×
UNCOV
15
            allow_nil: true
×
16

UNCOV
17
  scopify
×
UNCOV
18
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

© 2025 Coveralls, Inc