tagtical 1.6.0 → 1.6.1
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/tagtical/taggable/core.rb +2 -2
- data/lib/tagtical/taggable/tag_group.rb +1 -0
- data/spec/debug.log +13416 -0
- metadata +9 -9
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.6.
|
1
|
+
1.6.1
|
@@ -23,8 +23,8 @@ module Tagtical::Taggable
|
|
23
23
|
join(tagging_table, Arel::Nodes::OuterJoin).
|
24
24
|
on(arel_table[:id].eq(tagging_table[:taggable_id]).and(tagging_table[:taggable_type].eq(name))).
|
25
25
|
join(tag_table, Arel::Nodes::OuterJoin).
|
26
|
-
on(tag_table[:id].eq(tagging_table[:tag_id]).and(tag_table[:type].in(empty_tag_type_classes)))
|
27
|
-
|
26
|
+
on(tag_table[:id].eq(tagging_table[:tag_id]).and(tag_table[:type].in(empty_tag_type_classes))).
|
27
|
+
join_sql
|
28
28
|
).
|
29
29
|
group("#{table_name}.id").
|
30
30
|
having("GROUP_CONCAT(tags.type) IS NULL")
|