Skip to content
This repository

uninitialized constant ParseGeoPoint #56

Closed
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 = Place.new
  6. place.name = "Office"
  7. place.location = ParseGeoPoint.new
  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
Owner
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 'https://rubygems.org'

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'
end

gem 'jquery-rails'

Jamon Holmgren
Collaborator

@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
Collaborator

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
Collaborator

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.