Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4545018
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T15:45:11+00:00 2026-05-21T15:45:11+00:00

Newbie to Rails. I am building an app where users create events at a

  • 0

Newbie to Rails. I am building an app where users create events at a certain location, and plan to host on heroku. Other users can view events taking place within x miles of their latitude/longitude. I’m looking for a solution that would help me fetch all events happening in an x mile radius. The options seem to be Geocoder and Geokit. Geokit seems to be more popular but doesn’t seem to be ready for Rails 3. Is there an obvious choice for what I’m trying to do?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-21T15:45:12+00:00Added an answer on May 21, 2026 at 3:45 pm

    You should use MongoDB, which is provided via a Heroku addon. With Mongo you then have access to spacial queries (“find me all the events within this circle”): http://www.mongodb.org/display/DOCS/Geospatial+Indexing

    Unfortunately if you try to use Postgres’s geospacial indexing you will find that Heroku does not offer it by default.

    Take a look at Mongoid which enables you to do ActiveRecord-style representations of your documents in Mongo, and is very easy to get going with.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am building a javascript front-end and a Rails REST API backend. Users can
(Warning: Clueless Rails Newbie!) In my show.html.erb for my albums view, I call a
Firstly, I'm quite a newbie in rails/heroku, so forgive the newbiness in advance! I
Rails newbie here. I have a list of items which can have a status
I am a newbie in building Sencha Touch with Ruby on Rails. I would
Rails newbie question that I can't seem to figure out. At some point I
I am a rails newbie and I am trying to create a database schema
I am building a blog and I am a Rails newbie. The doubt is
Rails newbie here. Can anyone please explain the difference to me between the following
I am newbie to Rails and Mongoid. I am trying to create a login

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.