I have a base class "Entity", and two types derived from it: "Person" and
What I'd like to do is PUT a Person or Group object to
Unfortunately, this causes wrap_parameters to wrap for type "Entity"
instead of Person or Group.
Is there a way to programmatically change wrap_parameter, e.g. so I can
establish a before_filter that sets the proper child class name based on
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to firstname.lastname@example.org.
To unsubscribe from this group, send email to email@example.com.
To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/rHNFOt2uBNAJ.
For more options, visit https://groups.google.com/groups/opt_out.