tramway-core 2.0.0.2 → 2.0.0.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4dbb6d923746b41bbbed1c34117eba25f3a6d06846ea5bdac53436e2944d8141
4
- data.tar.gz: c61da707591a4115e0deb6a33890ab366d4db87566b207e0d38e7904f964f6a3
3
+ metadata.gz: 8cb5f162d7f0c25e14716d625868a33da89c697af2ec591d7f7979a1be186ec3
4
+ data.tar.gz: '09d897ed92f6a1231178781b82bcf2b670887287f04e1d73404750db13ce44a2'
5
5
  SHA512:
6
- metadata.gz: 5df58e56f67f5b0138ea7dfcf51304cb49093a89c98bd50ed57b5608ca6a734758839d35583db19f4b2e3c8fe6ff18868a716d028c08c035ddb4638dd71a4539
7
- data.tar.gz: 11d67d63f81948c389cd4febd6018b98b27eb46ada7a988fd5f66ef9a472fd67a192e6d15c170b737ab2d2a1a62d7351e76219ff80b260ccea86607ef2128bd7
6
+ metadata.gz: 91fa7227004fdd8703de213ac2bdef4d82235389cc807da5ebce079e31549d00543fc01693405bc20784817e2e7ce2e4d4ea36ec8be7451c9244c1979d2e5bfb
7
+ data.tar.gz: d8ebf4899596a26019744c1a93070aa8229d160bec462ea9951e37dfc2faecd57e861fbef4f5bfe2989c133a9b3b8e2cb1c908f1bf794c9f95e538f3dd418581
@@ -45,9 +45,6 @@ module Tramway::Core::InputsHelper
45
45
  id: params.dig(model_class.to_s.underscore, property.to_s),
46
46
  type: params.dig(model_class.to_s.underscore, "#{property}_type")
47
47
  }
48
- when :association, 'association'
49
- association = model_class.reflect_on_all_associations.select { |ass| ass.name == property }.first
50
- params.dig(model_class.to_s.underscore, association.options[:class_name].underscore)
51
48
  else
52
49
  params.dig(model_class.to_s.underscore, property.to_s)
53
50
  end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Tramway
4
4
  module Core
5
- VERSION = '2.0.0.2'
5
+ VERSION = '2.0.0.3'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tramway-core
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0.2
4
+ version: 2.0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pavel Kalashnikov