categoryz3 0.8.1 → 0.8.2
Sign up to get free protection for your applications and to get access to all the features.
- data/app/models/categoryz3/item.rb +1 -1
- data/lib/categoryz3/version.rb +1 -1
- metadata +4 -4
@@ -22,7 +22,7 @@ module Categoryz3
|
|
22
22
|
# Private: Creates a child item for the category
|
23
23
|
#
|
24
24
|
def create_child_item_for_category(category)
|
25
|
-
category.child_items.find_or_create_by_categorizable_type_and_categorizable_id_and_master_item_id(
|
25
|
+
category.child_items.find_or_create_by_categorizable_type_and_categorizable_id_and_master_item_id(self.categorizable.class.base_class.name, self.categorizable.id, self.id)
|
26
26
|
end
|
27
27
|
|
28
28
|
# Private: Create a child_item for each subcategory the category from this item have
|
data/lib/categoryz3/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: categoryz3
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.8.
|
4
|
+
version: 0.8.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-12-
|
12
|
+
date: 2012-12-11 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|
@@ -132,7 +132,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
132
132
|
version: '0'
|
133
133
|
segments:
|
134
134
|
- 0
|
135
|
-
hash: -
|
135
|
+
hash: -3056890622151906413
|
136
136
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
137
137
|
none: false
|
138
138
|
requirements:
|
@@ -141,7 +141,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
141
141
|
version: '0'
|
142
142
|
segments:
|
143
143
|
- 0
|
144
|
-
hash: -
|
144
|
+
hash: -3056890622151906413
|
145
145
|
requirements: []
|
146
146
|
rubyforge_project:
|
147
147
|
rubygems_version: 1.8.24
|