Put this file in the lib directory and Rails will find the class automatically. Nor require required.
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
where does class file go | 0 | 106 | November 29, 2007 | |
where does class file go | 0 | 90 | November 29, 2007 | |
mixin's for modules | 8 | 242 | July 6, 2007 | |
Where do i put classes that i want to use in Controller? | 0 | 101 | January 28, 2007 | |
Problem accessing mixin module methods from views | 0 | 87 | August 30, 2007 |