Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
m = Address.new({
title: params[:title],
address_full_address: params[:address_full_address],
address_lat: '%.12g' % params[:address_lat].to_f,
address_lng: '%.12g' % params[:address_lng].to_f,
address_country_code: params[:address_country_code],
address_state: params[:address_state],
address_city: params[:address_city],
address_street_address: params[:address_street_address],
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.