vendor/assets/javascripts/editable/rails.js.coffee in x-editable-rails-1.2.1 vs vendor/assets/javascripts/editable/rails.js.coffee in x-editable-rails-1.2.2

- old
+ new

@@ -20,10 +20,10 @@ if nestedLocale nested['locale'] = nestedLocale obj[nestedName + '_attributes'] = nested else obj[myName] = myValue - params[model] = obj + params[model] = obj delete params.name delete params.value delete params.pk $.ajax($.extend({ url : originalUrl \ No newline at end of file