[Hash] coordinates a hash containing :latitude and :longitude
But I think it's a bit inconsistent that we provide access to these attributes via a Hash. We could simplify things by setting latitude and longitude directly on the Post object.
I also think we should provide a predicate method coordinates? on the Post object.
When we do this, we can deprecate the coordinates attribute.
We have this now
But I think it's a bit inconsistent that we provide access to these attributes via a Hash. We could simplify things by setting
latitude
andlongitude
directly on thePost
object.I also think we should provide a predicate method
coordinates?
on thePost
object.When we do this, we can deprecate the
coordinates
attribute.