Skip to content

rumblelabs/is_addressable

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 %>

Releases

No releases published

Packages

No packages published

Languages