active_model_serializers/lib
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 Rubocop: Consistent spacing 2015-09-03 20:51:40 -05:00
active_model Rename Adapter.get to Adapter.lookup 2015-09-09 08:55:20 -05:00
generators/serializer Style/StringLiterals single quote all the things 2015-09-03 20:50:45 -05:00
tasks Add Style enforcer (via Rubocop) 2015-09-03 20:50:45 -05:00
active_model_serializers.rb Rubocop: Consistent spacing 2015-09-03 20:51:40 -05:00