Home > is_addressable

is_addressable

Is_addressable is a project mainly written in Ruby, it's free.

Adds address attributes to a model

= is_addressable

Adds address attributes to a model.

== Installation

gem 'is_addressable' bundle

== Generate Migrations

Addresses are stored in an addresses table. You can create this table by using the commands below.

rails g is_addressable:install rake db:migrate

== Use in views

You can use this helper to render the address fields.

<%= form_for @model do |f| %> <%= address f %> <% end %>

Previous:LP-Lavanderia