@Simon: Hey, namespace collisions can be troubling, but I'm confused. You said you made a method on a non-activerecord model but then you said it worked once you removed the db definition.
What was the name of your model, and did you define a class method or an instance method? Did you have other plugins installed? Before you go too much farther, make a brand new Rails app and duplicate the behavior there. If you can reproduce it, then it's either something with names or something goofy in your code. Can you write a test that reproduces that behavior? Also can you tell us more about your production environment? You said it works in all environments through the console, so now I wonder if you're running it through apache and trying to enumerate a dir that the user has no access to on the file system. Tell us more. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" 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-talk?hl=en -~----------~----~----~----~------~----~------~--~---

