Here is the string which needs to convert into a hash.
"{:status => {:label => 'Status', :collection => return_misc_definitions('project_status') } }"
We can not use eval because eval will execute the method return_misc_definitions('project_status') in the string. Is there pure string operation to accomplish this conversion in Ruby/Rails?