Meta Data

<% @rand = "r#{Time.now.to_i}#{rand(99 ... 99999)}d" values = record.new_record? ? [] : record.meta_data.map{|k,v| {key: k, value: v}} values = params[:meta_data] if params[:meta_data].present? %>
Add Meta Data