Commit c11b705c by ivan Lan

Improve JsonColumn about :generate_hash_value_column_for

parent f7b3907e
......@@ -52,9 +52,8 @@ module Shotengai
delegate :#{name}_template, to: :#{delegate_template_to}
def #{name}
{
template: self.#{name}_template,
template: self.#{name}_template.map { |x| x['key'] },
value: self.#{name}_value,
}
end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment