Forum: Ruby on Rails Including user defined classes

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
7fe16d11ca75c2de9d29bcc08a85ab9c?d=identicon&s=25 Pedro Cardoso (jotape)
on 2007-07-13 17:43
Hello again to all!

I have made some classes in my projectm and included the in
environment.rb to be included.

They live in /lib, in my project.

I'm doing a reference in one of them to a class in another one, and I
get a const not defined exceptions. I've made a require in the top of
the one that's using the other.

Any thoughts?
This topic is locked and can not be replied to.