Show us the whole backtrace please. I think there’s something else going on at work here. I’m also interested in how you got that error as it seems like you’re calling a string method (constantize) on a class.
Show us the whole backtrace please. I think there's something else
going on at work here. I'm also interested in how you got that error
as it seems like you're calling a string method (constantize) on a
class.
I'd guess that david is passing a class where he should be passing a
class name
Fred
Attached is the complete stack trace and the aggregate class and model code.
Thanks
Ryan Bigg wrote:
Show us the whole backtrace please. I think there's something else going on at work here. I'm also interested in how you got that error as it seems like you're calling a string method (constantize) on a class.
`description'
from (irb):2
Has anyone else encountered this problem? -- Posted via http://www.ruby-forum.com/.
>
-- Ryan Bigg http://www.frozenplague.net Feel free to add me to MSN and/or GTalk as this email.
Attachments: http://www.ruby-forum.com/attachment/1524/stack_trace.rtf
Thanks
Your suggestion proved correct. I was not enclosing the class name in quotes in the class name option of the composed_of method. I do believe I was not enclosing the class name in quotes in version 1.2.3 and was able to get away with it.
Frederick Cheung wrote: