Updated bullet issue for Domain create

This commit is contained in:
Priit Tark 2015-03-31 16:00:30 +03:00
parent 0533d16028
commit c5860bde98
3 changed files with 6 additions and 6 deletions

View file

@ -50,5 +50,8 @@ Rails.application.configure do
Bullet.bullet_logger = true
Bullet.raise = true # raise an error if n+1 query occurs
Bullet.unused_eager_loading_enable = false
# Currenty hard to fix, it is triggered by Epp::Domain.new_from_epp for create request
Bullet.add_whitelist type: :n_plus_one_query, class_name: 'Contact', association: :registrar
end
end