Closed sharmaansh21 closed 10 years ago
I am using rails 4 and gem 'gmaps4rails', in controller
@hash = ::Gmaps4rails.build_markers(@lessons) do |lesson, marker| marker.lat lesson.latitude marker.lng lesson.longitude marker.infowindow lesson.description end
On development it is working fine but on production NameError (uninitialized constant Gmaps4rails):
On production Using gmaps4rails 2.1.2
No idea whats going on
any update?
Restarting production server fixed this issue.
Restarting the server also fixed the issue for me too. Thanks!
I am using rails 4 and gem 'gmaps4rails', in controller
@hash = ::Gmaps4rails.build_markers(@lessons) do |lesson, marker| marker.lat lesson.latitude marker.lng lesson.longitude marker.infowindow lesson.description end
On development it is working fine but on production NameError (uninitialized constant Gmaps4rails):
On production Using gmaps4rails 2.1.2