Skip to content
This repository

uninitialized constant ParseGeoPoint #56

ivanhoe opened this Issue · 7 comments

4 participants

Ivan Alvarez Frias Alan deLevie Jamon Holmgren Rafael Escalante
Ivan Alvarez Frias

Hi guys,

Im trying to use use the class ParseGeoPoint in a controller like the next one:

  1. require 'parse_resource'
  2. class HomeController < ApplicationController
  3. def index
  4. ParseResource::Base.load!("app_id", "master_key")
  5. place =
  6. = "Office"
  7. place.location =
  8. end 11. 12.end

But im getting the next error:

NameError (uninitialized constant HomeController::ParseGeoPoint):
app/controllers/home_controller.rb:9:in `index'

Is there any problem with this code?

Alan deLevie
Ivan Alvarez Frias

My environment is:

ruby 1.9.2p320 (2012-04-20 revision 35421) [x86_64-darwin11.3.0]
Rails 3.2.9

My gem file:

source ''

gem 'rails', '3.2.9'

gem 'foreigner'
gem 'pg'
gem 'thin'
gem 'activeadmin', '0.5.0'
gem 'devise'
gem "parse_resource", "~> 1.7.2"
gem 'nestful'
gem 'roo'

group :assets do
gem 'sass-rails', '~> 3.2.3'
gem 'coffee-rails', '~> 3.2.1'
gem 'uglifier', '>= 1.0.3'

gem 'jquery-rails'

Jamon Holmgren

@ivanhoe Is this still an issue?

Rafael Escalante

It is for me! I can't figure out what's the problem.

Any pointers?

Jamon Holmgren

No idea...!

Rafael Escalante

I looked at the source downloaded from the gem, it IS the right version, but the code ISN'T.

Maybe up the version number and recreate the gem?

Jamon Holmgren

We're very close to a merge of a big pull request. We'll push up a new gem once we do and hopefully that fixes it. I don't have access to push up RubyGem builds, so that will be an @adelevie thing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.