v-kolesnikov/emilito

View on GitHub
app/models/account.rb

Summary

Maintainability
A
0 mins
Test Coverage

Showing 4 of 4 total issues

Specify a :dependent option. (https://github.com/bbatsov/rails-style-guide#has_many-has_one-dependent-option)
Open

has_one :user
Severity: Minor
Found in app/models/account.rb by rubocop

Specify a :dependent option. (https://github.com/bbatsov/rails-style-guide#has_many-has_one-dependent-option)
Open

has_many :tickets
Severity: Minor
Found in app/models/account.rb by rubocop

Specify a :dependent option. (https://github.com/bbatsov/rails-style-guide#has_many-has_one-dependent-option)
Open

has_one :owner, class_name: 'User' # Alias for user
Severity: Minor
Found in app/models/account.rb by rubocop

Specify an :inverse_of option.
Open

has_one :owner, class_name: 'User' # Alias for user
Severity: Minor
Found in app/models/account.rb by rubocop

There are no issues that match your filters.

Category
Status