Skip to content

Commit

Permalink
Configure coder for serialized attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
tsujigiri committed Jul 31, 2024
1 parent 570918c commit a10bf50
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/models/snp.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ class Snp < ApplicationRecord
has_many :snp_references
has_many :snp_comments

serialize :allele_frequency
serialize :genotype_frequency
serialize :allele_frequency, YAML
serialize :genotype_frequency, YAML

extend FriendlyId
friendly_id :name, use: :history, slug_column: :name
Expand Down

0 comments on commit a10bf50

Please sign in to comment.