taelor, > [12:26pm] dkubb: taerb: as a small test, at the top of your post.rb, > can you explicitly require the comment model? > [12:26pm] taerb: sure > [12:26pm] taerb: one sec > [12:26pm] dkubb: taerb: I just want to rule out the possibility that > the model load process in Rails is borked > [12:28pm] taerb: holy crap > [12:28pm] taerb: that worked
Can you try installing edge Extlib (http://github.com/sam/extlib), remove the explicit require, and see if the change I made a moment ago fixes your problem? I made it so that Module.find_const uses the const_missing hook if the constant is not found rather than just throwing a NameError exception. 99 times out of 100, there won't be a const_missing hook defined so a NameError will be thrown anyway, but I believe that is what Rails and autoload use to dynamically load the constants on their first use. Dan (dkubb) --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "DataMapper" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/datamapper?hl=en -~----------~----~----~----~------~----~------~--~---
