active_model_serializers/test
Benjamin Fleischer 363345b8dd Rename Adapter.get to Adapter.lookup
Per https://github.com/rails-api/active_model_serializers/pull/1017#discussion_r39003855
comment by sandstrom in discussion of the inherited hook

> I'm thinking that it would be better to register adapters manually, without using the hook, i.e.
> have people call ActiveModel::Serializer::Adapter.register directly (perhaps in an initializer).

> Possibly, some inspiration can be taken from how ActiveJob adapters are wired[1].

> [1] a11571cec3/activejob/lib/active_job/queue_adapter.rb (L52-L56)
2015-09-09 08:55:20 -05:00
..
action_controller Ensure inheritance hooks run 2015-09-09 08:55:20 -05:00
adapter Minor style improvements. 2015-09-07 09:06:17 +02:00
fixtures Remove url options 2015-09-07 12:13:19 -03:00
generators Remove space in {} 2015-09-03 20:55:40 -05:00
serializers Rename Adapter.get to Adapter.lookup 2015-09-09 08:55:20 -05:00
support Merge remote-tracking branch 'upstream/master' into improve-tests 2015-09-07 09:03:17 +02:00
adapter_test.rb Make Adapters registerable so they are not namespace-constrained 2015-09-08 22:59:36 -05:00
array_serializer_test.rb Rubocop: Consistent spacing 2015-09-03 20:51:40 -05:00
capture_warnings.rb Rubocop: Consistent spacing 2015-09-03 20:51:40 -05:00
lint_test.rb Rubocop: Consistent spacing 2015-09-03 20:51:40 -05:00
poro_test.rb Lead by example: lint PORO model 2015-08-18 12:59:12 -04:00
serializable_resource_test.rb Encapsulate serialization in ActiveModel::SerializableResource 2015-07-23 11:05:23 -05:00
test_helper.rb Ensure inheritance hooks run 2015-09-09 08:55:20 -05:00