GeekPark/gpk_account

View on GitHub
app/models/preference.rb

Summary

Maintainability
A
0 mins
Test Coverage

Models should subclass ApplicationRecord.
Open

class Preference < ActiveRecord::Base
Severity: Minor
Found in app/models/preference.rb by rubocop

This cop checks that models subclass ApplicationRecord with Rails 5.0.

Example:

# good class Rails5Model < ApplicationRecord # ... end

# bad class Rails4Model < ActiveRecord::Base # ... end

There are no issues that match your filters.

Category
Status