From c85b15e425b5a0ec0afc7a1070771e3596abc4cf Mon Sep 17 00:00:00 2001 From: Rueshyna Date: Fri, 16 Nov 2012 09:44:57 +0800 Subject: [PATCH] rm binding.pre ... --- app/controllers/admin/users_new_interface_controller.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/app/controllers/admin/users_new_interface_controller.rb b/app/controllers/admin/users_new_interface_controller.rb index 95be536e..a277c2e1 100644 --- a/app/controllers/admin/users_new_interface_controller.rb +++ b/app/controllers/admin/users_new_interface_controller.rb @@ -35,7 +35,6 @@ class Admin::UsersNewInterfaceController < ApplicationController attribute_values = @user.attribute_values attribute_values.each{|att_val| - binding.pry if att_val.id.to_s == '5052dab52b5c49ae9d000006' @profile_data.push({:name => att_val.attribute_field.title,:value =>att_val.get_value_by_locale(I18n.locale.to_s)}) if att_val.attribute_field.attribute.key=="profile" rescue false }