ruby on rails - Serialize an ActiveRecord instance, and all subrecords -


hi i'm working on project users can manage own forum, , i'd when when new user logs in given pre populated demo forum can play test projects features. seems me best way take existing record, serialise , sub records , deserialize each new user. if forum.serializable_hash attributes of forum , not records belong forum.

is there way me this?


Comments

Popular posts from this blog

account - Script error login visual studio DefaultLogin_PCore.js -

xcode - CocoaPod Storyboard error: -