So I'm running into an issue with jquery when making an ajax call to retrieve a string. It comes back displaying the entire chunk of code rather than rendering it in my erb file... I'm confused.
Here's the actual code hopefully someone can help before I pull my hair out.
Has anyone ran into this before? I'm sure it's a big red truck but right I can't figure it out for the life of me.
OH and before I forget I'm using Sinatra for this app.