projects
/
rails.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9f58d17
)
Throw an exception if saving the imported trace fails.
author
Tom Hughes
<tom@compton.nu>
Sun, 19 Aug 2007 09:11:59 +0000
(09:11 +0000)
committer
Tom Hughes
<tom@compton.nu>
Sun, 19 Aug 2007 09:11:59 +0000
(09:11 +0000)
app/models/trace.rb
patch
|
blob
|
history
diff --git
a/app/models/trace.rb
b/app/models/trace.rb
index 3eefc185d400c265f1cce211cb4e9b593555d07a..7d4f01dad344b8ad503d5920b4374faa793b3f4b 100644
(file)
--- a/
app/models/trace.rb
+++ b/
app/models/trace.rb
@@
-211,7
+211,7
@@
class Trace < ActiveRecord::Base
self.icon_picture = gpx.get_icon(min_lat, min_lon, max_lat, max_lon)
self.size = gpx.actual_points
self.inserted = true
- self.save
+ self.save
!
end
logger.info "done trace #{id}"