Ben Mills
|
9cffc10208
|
Add Rails >= 5.0.beta3 JSON API params parsing (#1751)
This reverts commit 6288203277.
|
2016-05-26 11:19:23 -06:00 |
|
Ben Mills
|
6288203277
|
Revert "Add Rails >= 5.0.beta3 JSON API params parsing" (#1751)
|
2016-05-26 11:17:32 -06:00 |
|
Benjamin Fleischer
|
8a3196d920
|
Improve jsonapi mime type registration for Rails 5 (#1747)
|
2016-05-26 10:55:12 -06:00 |
|
Benjamin Fleischer
|
aad7779a3f
|
Restrict serializable_hash to accepted options (#1647)
Restrict tests/impl from passing AMS options into serializable_hash
|
2016-04-11 13:10:18 -05:00 |
|
Benjamin Fleischer
|
ff8c6f9dd4
|
Clean up test app
|
2016-03-30 00:23:04 -05:00 |
|
Ben Mills
|
cc10928472
|
Provide Rails url_helpers via SerializationContext
|
2016-03-07 10:40:34 -07:00 |
|
Benjamin Fleischer
|
509221c1e0
|
Only call railtie when Rails is defined; assume controller loaded
Isolated Testing
- Rake test inspired by https://github.com/rails/rails/blob/v5.0.0.beta1/activejob/Rakefile
- Isolated unit inspired by
- https://github.com/rails/rails/blob/v5.0.0.beta1/railties/test/isolation/abstract_unit.rb
- https://github.com/rails/rails/blob/v5.0.0.beta1/activemodel/test/cases/railtie_test.rb
Misc
- Turns out `mattr_accessor(:logger) {
ActiveSupport::TaggedLogging.new(ActiveSupport::Logger.new(STDOUT)) }`
was always nil until the Railtie was loaded, since mattr_accessor
block defaults don't really work on modules, but on the classes that
include them.
- Commented on important on Rails being required first for caching to
work.
- In isolated tests, `active_support/core_ext/object/with_options` is required.
|
2016-01-15 01:54:07 -06:00 |
|