HTTPS clone URL
Subversion checkout URL
Please sign in to comment.
define Active Record Store accessors in a module
Allow store accessors to be overrided like other attribute methods, e.g.: class User < ActiveRecord::Base store :settings, accessors: [ :color, :homepage ], coder: JSON def color super || 'red' end end
- Loading branch information...
Showing with 54 additions and 12 deletions.