mirror of
https://github.com/ditkrg/active_model_serializers.git
synced 2026-01-23 06:16:50 +00:00
NoMethodError is current_user is nil, so nil.admin? NameError is a superclass of NoMethodError (which Rails 4.0 won't allow) and means current_user might not be defined |
||
|---|---|---|
| .. | ||
| json | ||
| json_api | ||
| adapter_selector_test.rb | ||
| explicit_serializer_test.rb | ||
| serialization_scope_name_test.rb | ||
| serialization_test.rb | ||