Include helper that provides number_with_precision
This commit is contained in:
parent
7c1d3ce1c4
commit
9aee02ecb9
1 changed files with 1 additions and 0 deletions
|
|
@ -1,6 +1,7 @@
|
||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
|
|
||||||
class Event < ApplicationRecord
|
class Event < ApplicationRecord
|
||||||
|
include ActionView::Helpers::NumberHelper # for number_with_precision
|
||||||
include ActiveRecord::Transitions
|
include ActiveRecord::Transitions
|
||||||
include RevisionCount
|
include RevisionCount
|
||||||
has_paper_trail on: [:create, :update], ignore: [:updated_at, :guid, :week], meta: { conference_id: :conference_id }
|
has_paper_trail on: [:create, :update], ignore: [:updated_at, :guid, :week], meta: { conference_id: :conference_id }
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue