I have a report model class in app/models/report.rb. I also have a report class in the lib directory which is inside a namespace ChipIn::Reports. I am trying to access the app/models report class from within the Chipin::Reports namespace in the lib folder. Is this possible? Thanks Andy
on 2007-04-09 22:42
on 2007-04-09 23:15
Try ::Reports. That should knock you out to the global namespace and get what you want. Jason
on 2007-04-10 21:53
Thank you, putting :: before the class worked perfectly.