Skip to content

Commit

Permalink
Attempt to trigger TravisCI
Browse files Browse the repository at this point in the history
  • Loading branch information
mguterl committed Jun 6, 2012
1 parent 03410a9 commit 5bdb0e6
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# SerializedAttributes

SerializedAttributes allows you to add an encoded hash to an ActiveRecord model.
This is similar to the built-in ActiveRecord serialization, except that the field
SerializedAttributes allows you to add an encoded hash to an ActiveRecord model.
This is similar to the built-in ActiveRecord serialization, except that the field
is converted to JSON, gzipped, and stored in a BLOB field. This uses the json
gem which is much faster than YAML serialization. However, JSON is not nearly as
flexible, so you're stuck with strings/integers/dates/etc.

Where possible, ActiveRecord compatible methods are generated so that a migration
Where possible, ActiveRecord compatible methods are generated so that a migration
should be pretty simple. See unit tests for examples.

Some of the code and most of the ideas are taken from [Heresy][Heresy], a ruby
Expand Down Expand Up @@ -57,4 +57,3 @@ class Profile < ActiveRecord::Base
end
end
```

0 comments on commit 5bdb0e6

Please sign in to comment.