# Is there any plugin can do this -- dynamic view from hash object

**URL:** <https://www.ruby-forum.com/t/is-there-any-plugin-can-do-this-dynamic-view-from-hash-object/174286>\
**Category:** Rails\
**Created:** [August 24, 2009, 1:29pm UTC](https://www.ruby-forum.com/t/is-there-any-plugin-can-do-this-dynamic-view-from-hash-object/174286 "2009-08-24T13:29:33Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ark](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/94ad74/32.png) [@ark](https://www.ruby-forum.com/u/ark)\
**Post date:** [August 24, 2009, 1:29pm UTC](https://www.ruby-forum.com/t/is-there-any-plugin-can-do-this-dynamic-view-from-hash-object/174286/1 "2009-08-24T13:29:33Z")

</div>

I have a requirement that for every db record, the attributes might be  
different.

So, I use a :text field to store the hash object of the fields/values  
pair.

Is there any plugin or good way to create/edit the hash pairs from the  
view. Such as render the view from hash object and fill value in if  
exist, otherwise create the field.

Thanks!
