My favorites
▼
|
Sign in
substruct
Open-source Ruby on Rails E-Commerce
Project Home
Downloads
Wiki
Issues
Source
READ-ONLY: This project has been
archived
. For more information see
this post
.
Search
Search within:
All issues
Open issues
New issues
Issues to verify
for
Advanced search
Search tips
Subscriptions
Issue
36
attachment: issue_36.patch
(507 bytes)
1
2
3
4
5
6
7
8
9
10
11
12
13
Index: plugins/substruct/app/models/preference.rb
===================================================================
--- plugins/substruct/app/models/preference.rb (revision 43)
+++ plugins/substruct/app/models/preference.rb (working copy)
@@ -39,7 +39,7 @@
logger.info "SERVER SETTINGS..."
logger.info settings.inspect
settings.each do |name, value|
- update_all("value = '#{value}'", "name = '#{name}'")
+ update_all(["value = ?", value], ["name = ?", name])
end
end
Powered by
Google Project Hosting