1
0
Fork 0

Fix code style

This commit is contained in:
Alex Kotov 2019-07-08 18:40:41 +05:00
parent f96cd44c3b
commit c9b29f452b
Signed by: kotovalexarian
GPG key ID: 553C0EBBEB5D5F08

View file

@ -11,11 +11,14 @@ class Passport < ApplicationRecord
has_many_attached :images
has_many :passport_maps, dependent: :restrict_with_exception
has_many :passport_maps,
dependent: :restrict_with_exception
has_many :passport_confirmations, dependent: :restrict_with_exception
has_many :passport_confirmations,
dependent: :restrict_with_exception
accepts_nested_attributes_for :passport_maps, reject_if: :blank_passport_map?
accepts_nested_attributes_for :passport_maps,
reject_if: :blank_passport_map?
###############
# Validations #