search for: displaygmap

Displaying 2 results from an estimated 2 matches for "displaygmap".

2006 Jul 02
1
Subject: Trying to Get Results from Form Element
I am trying to create an application loosely based on the Depot application presented in Agile Web Development with Rails (AWDwR). I am using the folowing controllers: admin_Controller application_Controller city_map_controller (with method: displayGMap) == Code Extract from city_map_controller == # Show a Google Map on a new page def displayGMap # @mapPoint = Gmap.find(params[:id]) # DBUG: Go back with report of what we found redirect_to_index("What the form got: |#{params[:id]}| |#{params[:mapPoint]}|") if params[:context] == :...
2006 Jul 08
1
Need Help Understanding Situation with Table Columns
I am trying to create an application loosely based on the Depot application presented in Agile Web Development with Rails (AWDwR). I am using InstantRails for the server. In my app I have the folowing controllers: admin_controller application_controller city_map_controller (with method: displayGMap) The admin_controller was created with the following command: ruby script/generate scaffold Gmap Admin so that I could easily create records in the gmaps table (created with this code): DROP TABLE IF EXISTS `gmaps`; CREATE TABLE `gmaps` ( `id` int(11) NOT NULL auto_increment, `type` tinyin...