Skip to content

some1else/serialize_fu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commits
 
 
 
 
 
 

Repository files navigation

SerializeFu
===========

A plugin that serializes properties to json and xml based on configuration in the Models. Initial code by http://github.com/josh/attr_hidden 

Example
=======

  class Account < ActiveRecord::Base

    attr_hidden "password"
    expose_method "popularity"

    def popularity
      "high"
    end

  end

Copyright (c) 2008 Srðan Prodanoviæ, released under the MIT license

About

A plugin that serializes properties to json and xml based on configuration in the Models

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages