Check in the log if gmaps4rails/_gmaps4rails partial is rendered.

On Tue, 9 Oct 2012 07:48:24 -0700 (PDT), bencarsal
<[email protected]> wrote:
> Hi group,
> 
> i want to know if somebody has gmaps4rails in the action update in
> activescaffold.
> 
> i have this:
> 
> in helper about my controller mymodel_helper.rb:
> 
>  def locate_form_column(record, options)
>  gmaps4rails(record.to_gmaps4rails)
>  end
> 
> and in the model have this virtual column:
> 
> attr_accessible :locate
> 
>  def locate=(_longitud,_latitud)
>  latitude = _latitud
>  longitude = _longitud
>  end
> 
>  def locate
>  "#{latitude} - #{longitude}"
>  end
> 
> in the controller:
> 
> active_scaffold :sites do |conf|
>  conf.columns 
> 
> Links:
> ------
> [1] https://groups.google.com/d/msg/activescaffold/-/jhUBcyeTXTkJ

-- 
You received this message because you are subscribed to the Google Groups 
"ActiveScaffold : Ruby on Rails plugin" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/activescaffold?hl=en.

Reply via email to