I have a Place model and a PlacesController. Currently the controller responds to JSON with certain objects. I would like to add more fields to the responded objects. For example, I would like to add every place's tags, queried by the method Place.tags.
I'm thinking in two solutions: convert the list of objects to a list of hashes and add the attributes that I want, or add a new column in the model, filling it in the controller iterating the list of objects. I'm not sure if there is a better way to do this.
Places already have an association with their tags?