This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/vendor/plugins/admin_data/app/controllers/admin_data/main_controller.rb b/vendor/plugins/admin_data/app/controllers/admin_data/main_controller.rb | |
index 9aabf67..85a8516 100644 | |
--- a/vendor/plugins/admin_data/app/controllers/admin_data/main_controller.rb | |
+++ b/vendor/plugins/admin_data/app/controllers/admin_data/main_controller.rb | |
@@ -70,7 +70,8 @@ class AdminData::MainController < AdminData::BaseController | |
def update | |
model_name_underscored = @klass.name.underscore | |
model_attrs = params[model_name_underscored] | |
- if @model.update_attributes(model_attrs) | |
+ @model.send(:attributes=, model_attrs, false) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From 4db593a42a01d59aecf723f07a6df372d6d48135 Mon Sep 17 00:00:00 2001 | |
From: Florent Guilleux <[email protected]> | |
Date: Tue, 27 Oct 2009 11:27:15 -0500 | |
Subject: [PATCH] Fix typo in doc | |
--- | |
lib/paperclip.rb | 2 +- | |
1 files changed, 1 insertions(+), 1 deletions(-) | |
diff --git a/lib/paperclip.rb b/lib/paperclip.rb |
NewerOlder