supprime les colonnes ignorées

This commit is contained in:
Christophe Robillard 2020-02-17 16:11:22 +01:00
parent a2d1d9c8f2
commit 9f7b78ff8b
2 changed files with 0 additions and 3 deletions

View file

@ -1,5 +1,4 @@
class Administrateur < ApplicationRecord
self.ignored_columns = ['features', 'encrypted_password', 'reset_password_token', 'reset_password_sent_at', 'remember_created_at', 'sign_in_count', 'current_sign_in_at', 'last_sign_in_at', 'current_sign_in_ip', 'last_sign_in_ip', 'failed_attempts', 'unlock_token', 'locked_at']
include ActiveRecord::SecureToken
has_and_belongs_to_many :instructeurs

View file

@ -1,6 +1,4 @@
class Instructeur < ApplicationRecord
self.ignored_columns = ['features', 'encrypted_password', 'reset_password_token', 'reset_password_sent_at', 'remember_created_at', 'sign_in_count', 'current_sign_in_at', 'last_sign_in_at', 'current_sign_in_ip', 'last_sign_in_ip', 'failed_attempts', 'unlock_token', 'locked_at']
has_and_belongs_to_many :administrateurs
has_many :assign_to, dependent: :destroy