Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

undefined method `latitude' for #<Lapor:0x007f09e2049708> mongoid #530

Open
farihulrouf opened this issue Sep 17, 2016 · 0 comments
Open

Comments

@farihulrouf
Copy link

How to resolving using mongoid ? i ' m too confused
here controller class


            if !lapor.hidden?
                lapor_path = view_context.link_to "View Details", lapor_path(lapor), :"data-no-turbolink" => true
                marker.lat lapor.latitude
                marker.lng lapor.longitude
                marker.infowindow "<b>Lapor ##{lapor.id}</b><br>
                                  #{lapor.title}<br>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant