spatial_features 1.5.1 → 1.5.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/spatial_features/has_spatial_features.rb +1 -6
- data/lib/spatial_features/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ed38fef2372d934ce3ac37ab4119209df532f5b4
|
4
|
+
data.tar.gz: ae236c019c91fd2f10e4f9a385e4ca22794ceb46
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a095d1e3e5057f4ed07bfd8568a582ebe218975198b919380da6597be7f760137bc9331ec0c12bbcba56f9670a89ce20d37e8f35aa5b46a8818b37436c5ae1c7
|
7
|
+
data.tar.gz: 05009d3f60028e36981df24276e1bf59708046a49dfe483533397b565eafd7aae95216c8a61157910978544606f3337b484a705d2120ea3d6d83804a0fcb1b06
|
@@ -75,12 +75,7 @@ module SpatialFeatures
|
|
75
75
|
end
|
76
76
|
|
77
77
|
def features
|
78
|
-
|
79
|
-
when ActiveRecord::Base
|
80
|
-
Feature.where(:spatial_model_type => self)
|
81
|
-
else
|
82
|
-
Feature.where(:spatial_model_type => self, :spatial_model_id => all)
|
83
|
-
end
|
78
|
+
Feature.where(:spatial_model_type => self)
|
84
79
|
end
|
85
80
|
|
86
81
|
# Returns a scope that includes the features for this record as the table_alias and the features for other as #{table_alias}_other
|