wco_models 3.1.0.244 → 3.1.0.245
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/app/models/wco/tag.rb +13 -13
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 933ad723b05cbdba85a9ea636aedf6f63fbdf9b53e3330e53e174c456fe4628a
|
|
4
|
+
data.tar.gz: 2378742acc51b3113ce61f858bc1f1ccbc55e6aec5c5f1dc9a7a03d120e3c144
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 034b9ed4c170b3b434d818a4682597fac85123dc312d188acf3dc8518d7c8f38e34dbe07ade8af4760b39c6502b65f7576d80b7dce92e2713a5c742182ad313a
|
|
7
|
+
data.tar.gz: 3c896c89f4853eb1fb1f8f58d668da1768b4e06af7fc15921860c59cf59a336f10b948501dc2eeeaa59f3c8cfd929e0538c772a1fc398967b051e5c279d283e6
|
data/app/models/wco/tag.rb
CHANGED
|
@@ -9,23 +9,23 @@ class Wco::Tag
|
|
|
9
9
|
validates :slug, presence: true, uniqueness: true
|
|
10
10
|
index({ slug: -1 })
|
|
11
11
|
|
|
12
|
-
belongs_to :parent, class_name: 'Wco::Tag', inverse_of: :sons, optional: true
|
|
13
|
-
has_many :sons,
|
|
12
|
+
belongs_to :parent, class_name: '::Wco::Tag', inverse_of: :sons, optional: true
|
|
13
|
+
has_many :sons, class_name: '::Wco::Tag', inverse_of: :parent
|
|
14
14
|
|
|
15
|
-
belongs_to :site,
|
|
16
|
-
has_many :email_filters, class_name: 'WcoEmail::EmailFilter', inverse_of: :tag
|
|
17
|
-
has_many :email_templates, class_name: 'WcoEmail::EmailTemplate', inverse_of: :tag
|
|
15
|
+
belongs_to :site, class_name: '::Wco::Site', optional: true
|
|
16
|
+
has_many :email_filters, class_name: '::WcoEmail::EmailFilter', inverse_of: :tag
|
|
17
|
+
has_many :email_templates, class_name: '::WcoEmail::EmailTemplate', inverse_of: :tag
|
|
18
18
|
|
|
19
|
-
has_and_belongs_to_many :conversations, class_name: 'WcoEmail::Conversation', index: true
|
|
20
|
-
has_and_belongs_to_many :galleries, class_name: 'Wco::Gallery'
|
|
19
|
+
has_and_belongs_to_many :conversations, class_name: '::WcoEmail::Conversation', index: true
|
|
20
|
+
has_and_belongs_to_many :galleries, class_name: '::Wco::Gallery'
|
|
21
21
|
has_and_belongs_to_many :headlines # , class_name: 'Headline'
|
|
22
|
-
has_and_belongs_to_many :leads, class_name: 'Wco::Lead', index: true
|
|
23
|
-
has_and_belongs_to_many :leadsets, class_name: 'Wco::Leadset'
|
|
22
|
+
has_and_belongs_to_many :leads, class_name: '::Wco::Lead', index: true
|
|
23
|
+
has_and_belongs_to_many :leadsets, class_name: '::Wco::Leadset'
|
|
24
24
|
has_and_belongs_to_many :logs
|
|
25
|
-
has_and_belongs_to_many :message_stubs, class_name: 'WcoEmail::MessageStub'
|
|
26
|
-
has_and_belongs_to_many :newsvideos, class_name: 'Wco::Newsvideo'
|
|
27
|
-
has_and_belongs_to_many :reports, class_name: 'Wco::Report'
|
|
28
|
-
has_and_belongs_to_many :videos, class_name: 'Wco::Video'
|
|
25
|
+
has_and_belongs_to_many :message_stubs, class_name: '::WcoEmail::MessageStub'
|
|
26
|
+
has_and_belongs_to_many :newsvideos, class_name: '::Wco::Newsvideo'
|
|
27
|
+
has_and_belongs_to_many :reports, class_name: '::Wco::Report'
|
|
28
|
+
has_and_belongs_to_many :videos, class_name: '::Wco::Video'
|
|
29
29
|
|
|
30
30
|
|
|
31
31
|
|