I am trying to build a complex google maps application with Rails as the framework. I have seen the YM4R gem and others that supposedly help with google maps development, but I honestly just want to go without them for now.
How can I get it so that rails passes a huge list of points to my google maps view, and the google maps javascript plots all of the points? I understand I probably need to use json somewhere (such as render :json => @points), but when I place that in my controller, I get an Illegal Action error from WEBbrick.
Any help would be greatly appreciated. Thanks!