OSDN Git Service
(root)
/
pettanr
/
pettanr.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8b3a05d
)
t#28864:import/ key name overwrite
author
yasushiito
<yas@pen-chan.jp>
Thu, 28 Jun 2012 23:27:54 +0000
(08:27 +0900)
committer
yasushiito
<yas@pen-chan.jp>
Thu, 28 Jun 2012 23:27:54 +0000
(08:27 +0900)
vendor/plugins/pettan_importer/lib/pettan_importer.rb
patch
|
blob
|
history
diff --git
a/vendor/plugins/pettan_importer/lib/pettan_importer.rb
b/vendor/plugins/pettan_importer/lib/pettan_importer.rb
index
befe722
..
f28ce1e
100644
(file)
--- a/
vendor/plugins/pettan_importer/lib/pettan_importer.rb
+++ b/
vendor/plugins/pettan_importer/lib/pettan_importer.rb
@@
-33,7
+33,7
@@
module ActiveRecord
r.attributes = attr
else
r = self.new attr
- r[key] = name
if r[key].blank?
+ r[key] = name
end
r
end