Changeset [e918c82fdf61df3c6d0c641ceaf0a1065c18ef61] by Daniel O'Connor

January 5th, 2018 @ 07:09 PM

Merge pull request #651 from johnnyshields/counter-cache

Performance: Add counter_cache to accounts to eliminate N+1 query

Committed by Daniel O'Connor

  • A db/migrate/20180102075234_add_account_counter_caches.rb
  • M ".rubocop.yml"
  • M app/helpers/accounts_helper.rb
  • M app/models/entities/account.rb
  • M app/models/entities/account_contact.rb
  • M app/models/entities/account_opportunity.rb
  • M app/views/accounts/_index_brief.html.haml
  • M app/views/accounts/_index_long.html.haml
  • M app/views/home/_account.html.haml
  • M db/schema.rb
  • M spec/models/entities/account_contact_spec.rb
  • M spec/models/entities/account_opportunity_spec.rb
New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Ruby on Rails CRM platform for Web 2.0 and beyond