instructeurs: disable the email column
This commit is contained in:
parent
f8358b3ae9
commit
2e8d365b93
1 changed files with 1 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
|||
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']
|
||||
self.ignored_columns = ['email', '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
|
||||
|
||||
|
|
Loading…
Reference in a new issue