Closed donpdonp closed 13 years ago
i should add that the Location model has these helpers to make the #create call work.
def longitude=(new_longitude); geom_assign(:x, new_longitude); end def latitude=(new_latitude); geom_assign(:y, new_latitude); end def altitude=(new_altitude); geom_assign(:z, new_altitude); end
the fix may be blindingly obvious. im trying geom_assign(:x, new_longitude.to_f) with success so far.
that was it. i guess this changed in GeoRuby.
Since you were so quick to help before, i hope you dont mind another issue :). ive looked at the GeoRuby code in the backtrace and i'm a bit lost. I also hope this is enough information to be useful. `