dynarex 0.5.1 → 0.5.2
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/dynarex.rb +2 -0
- metadata +1 -1
data/lib/dynarex.rb
CHANGED
@@ -120,6 +120,8 @@ EOF
|
|
120
120
|
# for each field update each record field
|
121
121
|
record = XPath.first(@doc.root, "records/#{record_name}[@id=#{id.to_s}]")
|
122
122
|
fields.each {|k,v| record.elements[k.to_s].text = v if v}
|
123
|
+
record.add_attribute('last_modified', Time.now.to_s)
|
124
|
+
|
123
125
|
load_records
|
124
126
|
end
|
125
127
|
|