A tiny hack for Rails to make Model#as_json(include: :association) return a hash with association keys suffixed with _attributes.
Diego Salazar
December 2, 2014 5:21pm
MIT