8 Commits

Author SHA1 Message Date
Shishir Kakaraddi
c943683141 second attempt to fix the has one name collision issue 2018-04-26 22:08:56 -07:00
Shishir Kakaraddi
901801fa80 checks if method is defined before defining it 2018-04-26 21:31:56 -07:00
Konstantin
bc8996c04d fix ActiveRecord ConnectionNotEstablished when ActiveRecord isnt required in a project 2018-04-21 15:26:31 -07:00
Shuhei Kitagawa
93391aff6a Remove redundant to_s 2018-03-12 22:30:35 -07:00
Shuhei Kitagawa
b4eaa04c09 Add frozen_string_literal: true 2018-03-12 22:20:48 -07:00
Guillermo Iguaran
6b593cb36a Allow the use of fast_jsonapi when ActiveRecord isn't present 2018-02-11 08:43:30 -08:00
jeremyjung
e7caa7afd5 Allow has_one nil association (#48)
* Allow has_one nil association

* add test for when has_one returns nil

* modify has_one extension method, add active record test

* Use try operator to support old rubies
2018-02-07 08:54:53 -08:00
Shishir Kakaraddi
5374a1378e initial commit 2018-01-31 16:20:40 -08:00