Commit Graph

1588 Commits

Author SHA1 Message Date
Krzysztof Rybka
a7915c80c2 Exclude Ruby 2.4.2 and Rails master from matrix 2019-01-25 19:32:25 +01:00
Krzysztof Rybka
96ab640eb9 Install rubygems 2.7.8 and bundler ~> 1.17 on Travis 2019-01-25 01:39:24 +01:00
Benjamin Fleischer
c6c3927e00
Merge pull request #2307 from faucct/bugfix/double-evaluation-of-object
Reevaluation of object
2019-01-10 11:58:27 -06:00
Benjamin Fleischer
9939d54289
Merge pull request #2306 from krzysiek1507/feature/add-frozen-string-literal
Add frozen_string_literal pragma to ruby files
2019-01-09 12:19:13 -06:00
Nikita Sokolov
a39794df5b LazyAssociation#object should not reevaluate reflection values 2019-01-09 09:52:38 +03:00
Krzysztof Rybka
89dcdace86 Enable frozen string literal comment for rubocop 2018-12-17 16:55:00 +01:00
Krzysztof Rybka
873cf4add2 Add frozen_string_literal pragma to ruby files 2018-12-17 16:54:56 +01:00
Benjamin Fleischer
17d0e6bdb7
Merge pull request #2300 from cookpad/c/travis-fixes-master
Updates to travis integration
2018-11-12 22:25:37 -06:00
cintamani
b76aae7f8e
Update .travis.yml 2018-11-07 11:27:40 +00:00
cintamani
f608aef83c
Add ruby 2.5.3
Add the latest stable ruby version in the list of RVM to test
2018-11-07 10:47:20 +00:00
Benjamin Fleischer
bc4805cbc1 Bump version to v0.10.8 2018-11-01 16:24:08 -05:00
Benjamin Fleischer
f1a2ec7f99 Add change to changelog 2018-11-01 16:19:43 -05:00
Benjamin Fleischer
09264da273 Merge branch 'fix_thread_safety_bug' into 0-10-stable 2018-11-01 16:17:02 -05:00
Benjamin Fleischer
238d7921ec Lint per rubocop 2018-11-01 14:51:18 -05:00
Benjamin Fleischer
b358271ef5 Note that we dup the entire reflection instance 2018-11-01 14:21:59 -05:00
LongCB
c7e847fc72 Fix thread unsafe behavior 2018-11-01 14:20:47 -05:00
Benjamin Fleischer
127b04ba33 Add failing test for reflection thread safety bug 2018-11-01 13:57:07 -05:00
Benjamin Fleischer
cb67434b46
Merge pull request #2279 from mkon/link-conditions
Support conditions in link statements
2018-10-31 13:27:28 -05:00
cintamani
b7bf03c127 Exclude ruby > 2.1 for Rails 5.2 build 2018-10-29 10:13:52 +00:00
cintamani
1b679d4c8c Test travis integration 2018-10-29 09:46:07 +00:00
Konstantin Munteanu
572f11b7e0 value is always a link 2018-10-25 09:54:36 +02:00
Konstantin Munteanu
ca6c009273 typos 2018-10-25 09:45:34 +02:00
Konstantin Munteanu
0d3999c36d Support conditions in link statements 2018-10-25 09:45:34 +02:00
Benjamin Fleischer
05e5ba6939
Merge pull request #2281 from alvincrespo/alvincrespo-patch-1
Fix documentation around class name comparison
2018-10-24 17:05:19 -05:00
Benjamin Fleischer
4b2b9ef730
Merge pull request #2297 from vnbrs/patch-1
Remove unnecessary line break from exception message
2018-10-24 17:02:19 -05:00
Benjamin Fleischer
01ecc5dea3 Update Changelog 2018-10-24 17:01:25 -05:00
Benjamin Fleischer
12724807e9 Merge branch 'Hirurg103-0-10-stable' into 0-10-stable 2018-10-24 16:59:59 -05:00
Vinicius Brasil
bcf21ea0a6
Remove unnecessary line break from exception message
This removes the unnecessary line break from the exception message. Example:

```
Cannot infer root key from collection type. Please\n
specify the root or each_serializer option, or render a JSON String
```
2018-10-24 14:10:59 -03:00
Dzmitry
db4e5267fd Fix the bug that serializer could not be found if the association's serializer is namespaced but the model is not
[fix #2295]
2018-10-20 15:42:11 +03:00
Benjamin Fleischer
eb865c276d Update Changelog 2018-10-11 15:03:44 -05:00
Benjamin Fleischer
506636abfb Merge branch 'f-mer-0-10-stable-eager_load' into 0-10-stable 2018-10-11 15:01:41 -05:00
Fabian Mersch
65313b901b Remove obsolete autoloads 2018-10-11 21:32:12 +02:00
Fabian Mersch
2a8b9f4105 Eager load modules on boot
Using ActiveModelSerializers with a threaded web server eg. Puma
uninitialized constant errors are thrown. Leaving this article for
reference:
http://blog.plataformatec.com.br/2012/08/eager-loading-for-greater-good/.
2018-10-11 21:32:12 +02:00
Benjamin Fleischer
fce8be0dc0
Merge pull request #2290 from rails-api/minitest_ci
Minitest 5.11 breaks; needs something like ::Minitest::Result.from
2018-10-10 10:59:37 -05:00
Benjamin Fleischer
f5f5d4db9e Fix Rails master 2018-10-10 09:39:48 -05:00
Benjamin Fleischer
ed97e94e71 Exclude deprecated rubies 2018-10-09 15:14:40 -05:00
Benjamin Fleischer
4f9d64096b Minitest 5.11 breaks; needs something like ::Minitest::Result.from 2018-10-09 14:39:41 -05:00
Alvin Crespo
3a200d7fe1
Minor doc update
Use model.class.name to do the correct comparison
2018-09-07 14:28:21 -04:00
Benjamin Fleischer
f3a19bd515
Merge pull request #2260 from abhaynikam/2258-fix-class-name-documentation
[docs] Fix class name documentation
2018-06-22 16:51:55 -05:00
Benjamin Fleischer
9c77bb6a60
Merge pull request #2263 from vthomas2007/fix-readme-lint-links
Fix Lint links in README
2018-06-22 16:50:53 -05:00
Vince Thomas
76936e7bb9 Fix Lint links in README 2018-06-21 09:46:23 -04:00
Abhay Nikam
4559774d60 Updated the defination for the class_name in documentation 2018-06-21 08:49:33 +05:30
Abhay Nikam
993a48fdcf wordsmitting 2018-06-07 10:05:21 +05:30
Abhay Nikam
65cf4836c8 Updated class_name defination. 2018-06-07 10:04:03 +05:30
Abhay Nikam
f3b202746b Added examples to use class_name options for association. 2018-06-07 09:58:48 +05:30
Benjamin Fleischer
41f2e11c4d
Merge pull request #2222 from rails-api/ci_fix
CI looks like JRuby is still failing sometimes
2017-11-19 16:21:26 -06:00
Benjamin Fleischer
5fe473fe0d JRuby AR adapter are now 5x.0 for Rails 5.x+ 2017-11-19 15:34:13 -06:00
Benjamin Fleischer
d274295ee5 Merge branch 'quake-collection_cache' into 0-10-stable 2017-11-19 11:50:41 -06:00
quake wang
a9ea81a831 resolve collection cache error 2017-11-19 11:33:48 -06:00
Benjamin Fleischer
ca531789c3 Bump to 0.10.7; update changelog 2017-11-14 20:50:51 -06:00