forest_liana 1.1.12 → 1.1.13

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: de9282fb8a1a87bcd782d8e04efa2b626a85db96
4
- data.tar.gz: 804bea410ba58503176d85c63d3f862c718d1b5c
3
+ metadata.gz: a779e509b0b4b9a4e38c73e759bc4935bb40a0f6
4
+ data.tar.gz: 830cfdca779bf2e564633a313aed465c9e71f8ea
5
5
  SHA512:
6
- metadata.gz: 42ee6d778b06fb69f38d810463dcd5c237ab05bee8f3f248cec84754a1a5f26d30a89992db7deea9c0027aa4b1b490543c192f607f018890c276a3a22b268fe0
7
- data.tar.gz: 5258b0306b82dae75e6306623562434c24c1dd34314e552cbae166209d2d767b3a7d33d11f76dc95432381eae308c6bdb4bec7a78143305ff15f1cb8eb7fb6e1
6
+ metadata.gz: 34d03fc25f33fcf640742a00ea89693daa29885a8bf1b37e977c4c56944bedaaabb2ebfe03050d125e390d1d12ad23a2dfd467bb2b1d1df5cc3cfa60ffa65011
7
+ data.tar.gz: c8fefe895c61ec8cf80cc1117878661f96ceb1d46625e19b868cceb9dac8028fd586112524edd3704fd9e04b83195649d15629791fae9fc11b4637f3d7149744
@@ -46,7 +46,7 @@ module ForestLiana
46
46
 
47
47
  def group_by_field
48
48
  field_name = @params[:group_by_field]
49
- association = @resource.reflect_on_association(field_name)
49
+ association = @resource.reflect_on_association(field_name) if field_name
50
50
 
51
51
  if association
52
52
  association.foreign_key
@@ -1,3 +1,3 @@
1
1
  module ForestLiana
2
- VERSION = "1.1.12"
2
+ VERSION = "1.1.13"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: forest_liana
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.12
4
+ version: 1.1.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sandro Munda