File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1957,15 +1957,15 @@ JSONAPI.configure do |config|
19571957 # Relationship reflection invokes the related resource when updates
19581958 # are made to a has_many relationship. By default relationship_reflection
19591959 # is turned off because it imposes a small performance penalty.
1960- self .use_relationship_reflection = false
1960+ config .use_relationship_reflection = false
19611961
19621962 # Allows transactions for creating and updating records
19631963 # Set this to false if your backend does not support transactions (e.g. Mongodb)
1964- self .allow_transactions = true
1964+ config .allow_transactions = true
19651965
19661966 # Formatter Caching
19671967 # Set to false to disable caching of string operations on keys and links.
1968- self .cache_formatters = true
1968+ config .cache_formatters = true
19691969end
19701970```
19711971
You can’t perform that action at this time.
0 commit comments