diff options
| author | hukl <contact@smyck.org> | 2009-02-26 00:54:05 +0100 |
|---|---|---|
| committer | hukl <contact@smyck.org> | 2009-02-26 00:54:05 +0100 |
| commit | 64639a314918e368d3fe6c6c21b8651ab8317806 (patch) | |
| tree | a3475eb17208cbd2de64602655e7529f9d330e7f /app/models | |
| parent | 16f3df9e4b9361f8336594bfa6d807c6669c9799 (diff) | |
there has to be a better way. need to read globalize2 documentation
Diffstat (limited to 'app/models')
| -rw-r--r-- | app/models/node.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/models/node.rb b/app/models/node.rb index 0b1351e..736fe1f 100644 --- a/app/models/node.rb +++ b/app/models/node.rb | |||
| @@ -84,6 +84,7 @@ class Node < ActiveRecord::Base | |||
| 84 | 84 | ||
| 85 | p.user = user | 85 | p.user = user |
| 86 | p.save | 86 | p.save |
| 87 | p.reload | ||
| 87 | p | 88 | p |
| 88 | end | 89 | end |
| 89 | 90 | ||
