Displaying 1 result from an estimated 1 matches for "twinturbo_strategy_for_param_authr".
2012 Oct 01
1
active_model_serializers, more than one level deep of associations, specifying serializers per association
...just let me know. Just a Rails 4-ish thing.
Am attempting to pull AMS (active_model_serializers), strong_parameters, 
and the "permitter" strategy that Adam Hawkins is using:
http://broadcastingadam.com/2012/07/parameter_authorization_in_rails_apis/
Code so far is here (in the integrate-twinturbo_strategy_for_param_authr 
branch if you clone):
https://github.com/garysweaver/restful_json/tree/integrate-twinturbo_strategy_for_param_authr
Autogenerated serializer and permitter classes for each model that has a 
table (~270 permitters, ~270 serializers), which means a lot of attribute 
and association name duplication...