Skip to content
Tool to serialize and update the array in all type of databases.
Ruby
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
.idea
lib
.gitignore
Gemfile
LICENSE
LICENSE.txt
README.md
Rakefile
act_as_serializable.gemspec

README.md

ActAsSerializable

This tool is useful for managing the array in a text column in any database (mysql, sqlite and etc). This tool also does sensible update upon object save/create. please see the usage below.

Installation

Add this line to your application's Gemfile:

gem 'act_as_serializable'

And then execute:

$ bundle

Or install it yourself as:

$ gem install act_as_serializable

Usage

in model, for any text column for which you want it to act as array column

mention:

act_as_serializable [:col1]

for mutiple columns:

act_as_serializable [:col1, :col2]

Contributing

  1. Fork it ( https://github.com/pavanagrawal/act_as_serializable/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request act_as_serializable
Something went wrong with that request. Please try again.