On Dec 16, 2007, at 1:29 AM, giles bowkett wrote:
> He has a Rails app running; he installs my gem; he restarts his > server; he gets an error in one of the my_model_url methods, i.e., > model_path(my_model) fails for him as a result of installing a gem > which is only required in his .irbrc, and not anywhere in his > application. Actually, the error isn't in Rails itself as far as I can tell. As you can see in the screencast @module becomes nil, which could point to the fact that it's never set in the controller, which is understandable as utility belt probably uses a lot magic to create stuff like the finder shortcuts. It's possible that it has something to do with IRB and reading the .irbrc, but as far as I know it's only used through ruby-debug now. Can you find out… - …what version of Rails he's using. - …what is in his .irbrc. - …what happens when he removes the .irbrc. And after that create a ticket about it? Manfred --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" 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/rubyonrails-core?hl=en -~----------~----~----~----~------~----~------~--~---
