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

  • SEARCH
  • Home
  • 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 8984327
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T21:04:36+00:00 2026-06-15T21:04:36+00:00

I am using Gmaps4Rails on my User model. I want to use the validation

  • 0

I am using Gmaps4Rails on my User model.

I want to use the validation functionality, but I don’t want the validation during signup.
So I did this:

acts_as_gmappable :validation => false

Then I realized that I really would like this validation after the signup.

but I am uncertain about How can I implement conditional validation for gmaps4rails?

Any tips are welcome.

  • 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-06-15T21:04:38+00:00Added an answer on June 15, 2026 at 9:04 pm

    As mentionned in the doc, you can use a Proc:

    acts_as_gmappable :process_geocoding: lambda {|user| !user.new_record? }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm using gmaps4rails on my project. This gem works amazing but i have a
Using Yii MVC, I want to know when a user is still on my
I'm using Gmaps4rails to display a map of properties. The properties model has an
I'm using gmaps4rails and really enjoying it, but, I missed setting some properties, such
Using Sinatra and DataMapper. This is my first time trying to use more than
Is it possible to do something like this marker styling using Gmaps4rails gem. I`ve
I am using Gmaps4rails. It's working really fine. But now I got an issue
I am using rails 3.2.3 and gmaps4rails gem. I have one model called contact.
I am using Gmaps4rails and have successfully got quite a bit working, but I
I'm using Rails 3.2.3 and Ruby 1.9.3 along with the latest version of gmaps4rails.

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.