Move events index datatable row to a partial

- clean up columns
- tag unregistered submitters & speakers
- implement caching
This commit is contained in:
James Mason 2018-02-23 00:00:25 -08:00
parent cfcffd1e30
commit 60b8ca6c8d
No known key found for this signature in database
GPG key ID: 1B3951886C449023
7 changed files with 84 additions and 54 deletions

View file

@ -1,5 +1,5 @@
class DifficultyLevel < ApplicationRecord
belongs_to :program
belongs_to :program, touch: true
has_many :events, dependent: :nullify
has_paper_trail ignore: [:updated_at], meta: { conference_id: :conference_id }