我的控制器中有一个哈希数据:
 "accept"=>["{:id=>\"12f310f1d9b8f\",
:first_name=>\"San\",
:last_name=>\"Jori\",
 :name=>\"Jori,Santosh\",
 :email=>\"san.jori@west.com\",
 :gender=>nil,
:birthday=>nil,
:profile_picture=>nil,
:relation=>nil}"],
但我无法阅读它。
我正在尝试以这种方式阅读它:
  if params[:accept].present?
   params[:accept].each do |customer|
   @customer = current_user.customers.new(:name => customer[:name], :email => customer[:email])
   end
  end
但它给出了错误:
  no implicit conversion of Symbol into Integer
蚂蚁有人帮忙吗?请。