[Rails] Re: Re: Re: YM4R multiple points on Google Map

2010-09-21 Thread Twistter Shock
Walter McGinnis wrote: On Tue, Sep 21, 2010 at 9:22 AM, Walter McGinnis walter.mcgin...@gmail.com wrote: One difference that my code has (in the controller where @map object is initialized) is that it uses this: @map.center_zoom_on_points_init(*...@coordinates_for_results) This indeed

[Rails] Re: Re: YM4R multiple points on Google Map

2010-09-20 Thread Twistter Shock
Walter McGinnis wrote: Just a quick link to some example code that may help you: http://github.com/kete/kete/blob/master/app/views/search/_results.rhtml # lines 43 - 63ish Pay particular attention to lines 61 and 62. Hope that helps, Walter Hi Walter, thanks for your reply My

[Rails] Re: YM4R multiple points on Google Map

2010-09-19 Thread Twistter Shock
Hunter Hillegas wrote: Can't you just feed in an array of markers? @markers.each do |marker_seq| @map.overlay_init(marker_seq) end Hi Hunter I have a similar problema with YM4R My map only display the last point, this is my code: @map = GMap.new(map_div_id)

[Rails] On init webrick get older rails version (suddenly)

2010-09-08 Thread Twistter Shock
Hi! I'm running rails 2.3.8, confirmed by the prompt (rails -v) I'm doing a project and on other occasions I have needed install nested forms. I followed the steps (http://weblog.rubyonrails.org/2009/1/26/nested-model-forms) This steps: $ git clone git://github.com/alloy/rails.git $ cd rails $

[Rails] Re: On init webrick get older rails version (suddenly)

2010-09-08 Thread Twistter Shock
Colin Law wrote: On 8 September 2010 12:49, Twistter Shock li...@ruby-forum.com wrote: This steps: = Rails 2.3.0 application starting on http://0.0.0.0:3000 If you look in vendor/rails I think you will find that those instructions have installed a patched version of rails there (presumably

[Rails] Re: Re: On init webrick get older rails version (suddenly)

2010-09-08 Thread Twistter Shock
Colin Law wrote: On 8 September 2010 15:19, Twistter Shock li...@ruby-forum.com wrote: Thanks Colin � �STRING = [MAJOR, MINOR, TINY].join('.') �end end If the binaries belongs to version 2.3.0 should i replaced then for the binaries of 2.3.8. Don't feel that this is the correct... I