Recent Posts by Tony Bianco
|
Mar 4, 2008
Tony Bianco
2 posts
|
Topic: Agile Web Development with Rails / Problem with *.xml.erb files Here’s where I went wrong. I named my filed who_bought.xml.erb. What I should have done is named the file who_bought.xml.builder, as soon as I did that it worked! |
|
Mar 4, 2008
Tony Bianco
2 posts
|
Topic: Agile Web Development with Rails / Problem with *.xml.erb files I’m on one of the last chapters of AWDWR using 2.0 and I’m at the part where I should be showing xml. The problem is that it seems to not be parsing the xml. Here’s my code Controller
View who_bought.xml.erb
When I go to a page I get this error in the browser and instead of showing xml it just shows what’s in the *.xml.erb file (example url http://localhost:3000/info/who_bought/48126371)
What am I doing wrong here. |
2 posts
