Am I trying to send it wrong from the controller? I mean, is my syntax 
wrong in sending the JSON from controller to the view? I have used such 
a JSON in other methods in the controller. I have no issues there. But I 
am not able to understand why I am not able to pass the same to the view 
using respond_to in controller.

Nikhil

-- 
Posted via http://www.ruby-forum.com/.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to