0.0
No commit activity in last 3 years
No release in over 3 years
Efficient serialize/deserialize of nested Hashes/Arrays including ActiveRecords
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies

Runtime

 Project Readme

Dry de/serialize nested Hashes/Arrays of ActiveRecords

Strips unnecessary info like attributes/associations from infinetly deep Hashes/Arrays.

Install

sudo gem install ar_serialize

Or

rails plugin install git://github.com/grosser/ar_serialize.git

Usage

{:foo => <User>}.to_yaml --> tons of stuff including asociations and attriutes
ArSerialize.seriazlize(:foo => <User>) --> {:foo => "ActiveRecord:User:15"}
ArSerialize.deseriazlize(:foo => 'ActiveRecord:User:15') --> {:foo => <User>}

Author

Michael Grosser
michael@grosser.it
Hereby placed under public domain, do what you want, just do not hold me accountable...