[ditz-talk] undefined method 'name' NoMethodError

Matthew Wilson matt at tplus1.com
Tue Sep 2 08:53:27 EDT 2008


Hi, I just tried to start a ditz repository (I don't know if that's
the right word) and got this traceback:

$ ditz
/usr/local/lib/site_ruby/1.8/ditz/model-objects.rb:124:in `validate!':
undefined method `name' for "features":String (NoMethodError)
	from /usr/lib/ruby/1.8/yaml.rb:143:in `map'
	from /usr/local/lib/site_ruby/1.8/ditz/model-objects.rb:124:in `each'
	from /usr/local/lib/site_ruby/1.8/ditz/model-objects.rb:124:in `map'
	from /usr/local/lib/site_ruby/1.8/ditz/model-objects.rb:124:in `validate!'
	from /usr/local/lib/site_ruby/1.8/ditz/model-objects.rb:133:in `from'
	from /usr/local/lib/site_ruby/1.8/ditz/file-storage.rb:17:in `load'
	from /usr/bin/ditz:130


These are the commands I ran before hand:

$ ditz # Asked me for my name
$ ditz init # asked for the project name, asked for components, and I
put in "features"
$ ditz # this is what caused the error

I'm running ditz 0.5, at least according to ditz --version.

What am I doing wrong?

Matt


-- 
Matthew Wilson
matt at tplus1.com
http://tplus1.com
216-470-6058


More information about the ditz-talk mailing list