I have a model place with attribute names, state, longitude and latitude. The travel_plan model has many places.
I use a nested gem for places in the form of a travel plan.
My problem is that longitude and latitude were not updated when updating the name and state.
In my place .rb
belongs_to :travel_plan acts_as_gmappable def gmaps4rails_address "#{name},#{state}" end def gmaps4rails_infowindow "<h4>#{name}</h4>" end
source share