No commit activity in last 3 years
No release in over 3 years
TBD
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 0.5.3, ~> 0.5
~> 3.6
~> 0.49.1
~> 0.15.0
~> 1.3
 Project Readme

Acts As Contactable

Acts As Contactable is a Ruby Gem specifically written for Rails/ActiveRecord models that adds certain (opinionated) contact information (address, phone numbers)

Installation

Supported Ruby and Rails versions

  • Ruby 2.2.0, 2.3.0 and 2.4.0
  • Rails 4.0, 4.1+
  • Rails 5.0, 5.1

Install

gem 'acts-as-contactable', require: 'acts_as_contactable'

And then execute:

$ bundle

Or install it yourself as:

$ gem install acts-as-contactable

Data Migrations

Acts As Contactable uses an Addresses table to store information. To generate and run the migration use.

rails generate acts_as_contactable:migration
rake db:migrate

Usage

Contactable models

class User < ActiveRecord::Base
  acts_as_contactable
end

Testing

All tests follow the RSpec format and are located in the spec directory. They can be run with:

rake spec

Contributing

Contribution directions go here.

License

The gem is available as open source under the terms of the MIT License.