I am totally new to RoR (currently using Ruby 1.9.3 and Rails 3.2.16). I have read lots of tutorials and ebooks on how to use rails in the last few days.
Now I want to create some kind of blog for multiple users ( a traveling journal for me and my friends), that automatically fetches the user location (IP address). This should be used for writing a status update that inherits the user location automatically. But it should update the user location within a certain time period to make sure when the user is moving the next status update will get a different location. e.g. User1: "I am at the supermarket" - 4th Ave, NY ....10mins later User1: "Now I am standing at the bus stop down the block" - 5th Ave, NY
Other feature should be a .find or .where method to show all statuses that were made at a specific location nearby the actual user location.
I know how to make a simple blog with devise and adding status model to it, but I have no idea how to implement the geocoding feature into that. Planed to use https://github.com/alexreisner/geocoder for the whole geocoding process.
I hope some of your RoR pros can help me with this problem or at least give me a hint how to implement it :))
EDIT: I guess I've found a tutorial that fits my needs. There is just two things. I dont wan't maps to be included and i want to store the geodata (location, lat and lng) in a database. Can anyone of you tell me which part of the code i can delete and how i can parse the json to the "location" database? http://de.slideshare.net/nebirhos/geolocation-on-rails