jeudi 3 décembre 2015

Adding a location based-microposts and map which shows user's microposts place with Rails

I've already finished Michael Hartl Ruby on Rails Tutorial. Now, I've got an app that users can follow the other users, create microposts and share these microposts with their followers. Now I want to add new property to my app that sharing microposts with their locations. And also I want to add a map (like Google Map) which shows the all micropost which are sharing with their locations on the map.

I've tried many times to adding locations to my microposts but I could't be successful. Finally I had that sharing my problem with stackoverflow's users will be better.

1) I'm using sqlite for database. Is this enough for me?

2) I am not sure that add columns to microposts or create new migration file as locations?

3) And also I want to know that http://ift.tt/uw6cng is enough for me to make my project.

Thank you for your attentions.

Aucun commentaire:

Enregistrer un commentaire