active_record_api-rest 1.0.48 → 1.0.49

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: 0420a6ee029e6c24b4623de52e3f32dcb5d75cec95fdfb7bfe681d06c7d5caf3
4
- data.tar.gz: ea0f1d088fe2fa4765e80fa1e26b962c837df4e34babd13832e6c8a12eb2db7c
3
+ metadata.gz: 4ce81d12ddba83c54923867f8dcca67a984db16da8c05be1faf77d77267f6b9e
4
+ data.tar.gz: c93e979273e00022c0d13f04f7c7cc2f15b8fc92bd4ea58774cdff4abf2a8194
5
5
  SHA512:
6
- metadata.gz: 897e068d54fa2de66d6738632624eb44be9163d73790c7ba6bdc024b8e35ac2a230b79b633e7636c62ccdffc7499c4418e1cad3fae6ff6e63b7aca0a1ed7fb66
7
- data.tar.gz: 7d4b091104d18be6e0bb900cbfc0fd78519d552efae51e5ac329443278ae5978fb4a941f5cfcc51209bab3ce20ae0d742c11f1897d1593343a5c3338d34ba47a
6
+ metadata.gz: b41cc9b79b84ac32d7a75af979f72fd14c0d84b89745491a9929daafc7a935c5aee4cb8bad91fd9411cb8412eaf96e960f76e75b8e0314708cc971a2372c87ca
7
+ data.tar.gz: 9b97b110051ad9747090db9d4692fc9d4c9f02fed595292c6950b24bd82c98a279b9f15879e91d3ef6ffa6bac6b467c6d2f76b3bb283baa4b83dc9b83e16226c
@@ -60,7 +60,7 @@ module ActiveRecordApi
60
60
  end
61
61
 
62
62
  def model
63
- @model ||= authorized_models.find_by(id: queryable_params[:id])
63
+ @model ||= authorized_models.find(queryable_params[:id])
64
64
  end
65
65
 
66
66
  def models_full_results
@@ -2,6 +2,6 @@
2
2
 
3
3
  module ActiveRecordApi
4
4
  module Rest
5
- VERSION = '1.0.48'.freeze
5
+ VERSION = '1.0.49'.freeze
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: active_record_api-rest
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.48
4
+ version: 1.0.49
5
5
  platform: ruby
6
6
  authors:
7
7
  - Full Measure Education
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-07-22 00:00:00.000000000 Z
11
+ date: 2019-08-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler