标签: ruby-on-rails postgresql georuby
当我在rails console上运行代码时: Point.from_x_y(88.365805,22.543538)
Point.from_x_y(88.365805,22.543538)
然后得到错误:
NameError: uninitialized constant Point
有人可以帮我删除此错误吗?
我在运行此代码之前正在运行require 'gems':
require 'gems'
require 'geo_ruby' require 'geo_ruby/ewk'