diff options
author | Nemael <100dragons@gmail.com> | 2020-10-08 17:23:17 +0200 |
---|---|---|
committer | Nemael <100dragons@gmail.com> | 2020-10-08 17:23:17 +0200 |
commit | ad1c6ccaaeda8ab8df8316b9261dd1e100df75fd (patch) | |
tree | 77084b0e6a5dee9cc85b2775adb4ed90f18f3220 /app/models/section.rb | |
parent | 00ac912be46d858379fb5685b7290fe8d60001ef (diff) | |
download | incommon-map-ad1c6ccaaeda8ab8df8316b9261dd1e100df75fd.tar.gz |
Changed 'has_ony' to 'has_one'
Diffstat (limited to 'app/models/section.rb')
-rw-r--r-- | app/models/section.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/section.rb b/app/models/section.rb index a9d163e..670c543 100644 --- a/app/models/section.rb +++ b/app/models/section.rb @@ -1,6 +1,6 @@ class Section < ApplicationRecord belongs_to :category - has_ony :taxonomy, through: :category + has_one :taxonomy, through: :category acts_as_list column: :rank, scope: :category |