[Rails] Re: Problem with RJS (Solved)

2009-07-30 Thread Shahin Kordasti
Shahin Kordasti wrote: > Hi, > > I am trying to do a rails application that uses google map to allow > users to specify longitude and latitude and then the google map should > be updated to show that location which was specified. > > I am using observe_field on the

[Rails] Problem with RJS

2009-07-30 Thread Shahin Kordasti
Hi, I am trying to do a rails application that uses google map to allow users to specify longitude and latitude and then the google map should be updated to show that location which was specified. I am using observe_field on the text field like this: <%= observe_field 'geo_loc_cords',

[Rails] Re: Ruby 1.9.1 One-Click Installer for Windows

2009-07-20 Thread Shahin Kordasti
Thanks alot mate, was waiting for this. -- 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 post to this group, send email to rubyonrails-talk@go

[Rails] Re: Proper API doc for rails erb objects?

2009-07-17 Thread Shahin Kordasti
ds here, but at least > the type will be visible > > - object.debug (in a view) will output a YAML version of the given > object, wrapped in 'pre' tags. This can be useful for debugging > models, for instance. > > - if all else fails, install ruby-debug and put '

[Rails] Re: Problem with rails and AJAX

2009-07-17 Thread Shahin Kordasti
Noone knows how to pass a form reference to a partial page when using observe_field? -- 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 post to

[Rails] Problem with rails and AJAX

2009-07-16 Thread Shahin Kordasti
Hi, I have a very simple page with a drop down select list and I want that a portion of this page gets updated each time a new selection is done on the select list. This is my page with the select list (edit view_sites.html.erb): <% form_for :site, :url => { :action => :edit_site } do |form| %>

[Rails] Re: Proper API doc for rails erb objects?

2009-07-14 Thread Shahin Kordasti
Conrad Taylor wrote: > On Tue, Jul 14, 2009 at 2:00 AM, Conrad Taylor > wrote: > >>> For example, I read a tutorial mentioning a form variable that just seem >> >> Last name : <%= form.text_field :last_name %> >> Biography : <%= form.text_area :biography %> >> Admin?: <%= form.c

[Rails] Proper API doc for rails erb objects?

2009-07-14 Thread Shahin Kordasti
Hi, I recently started working with rails and maybe Im a bit spoiled coming from a Java background but is there a proper api document for the objects that are used in erb.html pages? For example, I read a tutorial mentioning a form variable that just seem to magically exist (no idea who/where it

[Rails] Re: Problem installing system_timer in windows

2009-07-10 Thread Shahin Kordasti
Frederick Cheung wrote: > On Jul 10, 9:36�am, Shahin Kordasti > wrote: >> . >> >> So it seems Visual Studios compiler is not compatible with whatever >> compiler is needed to build system_timer and this is where I am stuck. >> Where do I find a suit

[Rails] Problem installing system_timer in windows

2009-07-10 Thread Shahin Kordasti
Hi, I recently started working on an existing Ruby On Rails application which production environment is linux. However we are trying to create a dev. platform with Eclipse in Windows and everything was working fine until one of our classes was trying to import system_timer. The initial error I g