module Eaco::Adapters::ActiveRecord::Compatibility::V32
Rails 3.2 JSONB support module.
Uses github.com/romanbsd/activerecord-postgres-json to do the dirty compatibility stuff. This module only uses .serialize
to set the JSON
coder.
Public Class Methods
included(base)
click to toggle source
Sets the JSON coder on the acl column
# File lib/eaco/adapters/active_record/compatibility/v32.rb, line 19 def self.included(base) base.serialize :acl, ::ActiveRecord::Coders::JSON end