active_model_serializers/lib
Benjamin Fleischer 73eae19b3d Return null resource object identifier for blank id
Also, fix test where attributes were included when id was ""

```
  1) Failure:
  ActionController::Serialization::AdapterSelectorTest#test_render_using_adapter_override
  [test/action_c$ntroller/adapter_selector_test.rb:53]:
  --- expected
  +++ actual
  @@ -1 +1 @@
  -"{\"data\":{\"id\":\"\",\"type\":\"profiles\",\"attributes\":{\"name\":\"Name 1\",\"description\":\"Description 1\"}}}"
  +"{\"data\":null}"
```
2017-04-30 23:28:08 -05:00
..
action_controller This adds namespace lookup to serializer_for (#1968) 2016-11-09 07:57:39 -05:00
active_model Do not calculate cache_key unless caching 2017-04-30 23:03:18 -05:00
active_model_serializers Return null resource object identifier for blank id 2017-04-30 23:28:08 -05:00
generators/rails Fix thor warning to set type: :boolean, was setting { banner: "" } 2017-01-06 17:16:57 -06:00
grape re: RuboCop - Use nested module/class definition instead of compact style. 2016-06-20 22:15:20 +01:00
tasks Add rubocop binstub that rspects file patterns 2017-03-12 15:50:05 -05:00
active_model_serializers.rb Make test attributes explicit 2016-12-04 19:33:39 -06:00