diff options
| author | hukl <contact@smyck.org> | 2009-09-12 13:12:36 +0200 |
|---|---|---|
| committer | hukl <contact@smyck.org> | 2009-09-12 13:12:36 +0200 |
| commit | 1e110b74e2202ab0550550d0d446e7d29aba7146 (patch) | |
| tree | 63caa7ff44c3a7aff3898f912311bacbb3508ce6 /lib | |
| parent | fe551453149f302eabd3e484d7ef69413c596656 (diff) | |
added another gem requirement and updated the chaos_importer task to work with the current node validations
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/chaos_importer.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chaos_importer.rb b/lib/chaos_importer.rb index cb54093..db2a96b 100644 --- a/lib/chaos_importer.rb +++ b/lib/chaos_importer.rb | |||
| @@ -20,7 +20,7 @@ class ChaosImporter | |||
| 20 | 20 | ||
| 21 | def initialize path | 21 | def initialize path |
| 22 | unless Node.root | 22 | unless Node.root |
| 23 | Node.create! | 23 | Node.create! :slug => "root" |
| 24 | end | 24 | end |
| 25 | 25 | ||
| 26 | @directory = path | 26 | @directory = path |
