Closed vishalvijay closed 3 years ago
Same here. Any ideas?
You currently cannot and this is not likely to be supported anytime soon.
You can achieve the same effect by creating a new model Location that belongs to the user. A user could then have both a current and a previous location object, and you would search by searching the Location objects which can be mappable.
If that's too much change for your code, you could create just a past location model that is only used for former locations.
Hi Consider a model
User
with attributeslast_lat
,last_lng
,current_lat
andcurrent_lng
. How do I manage to addacts_as_mappable
for both points.