Ruby On Rails

Using rails and respond_to to include nested data

I want to display data from a nested table in my XML output using respond_to. I searched google a bit and it seems :include was the way to go. However I had some problems getting this to work properly. I have two models (customer and user) that are linked together. When I fetch the data for a […]

Continue reading