Custom Classes?

Ok, a bit of a possibly dumb question here.

When working on Rails apps and I want to add a few custom class rb files
to the project, where exactly should I put them? What folder is the
best to place them in that things in the model and controller folder can
see and use them?

Thanks,

  • Mark

On 12/30/05, Mark H. [email protected] wrote:

When working on Rails apps and I want to add a few custom class rb files
to the project, where exactly should I put them? What folder is the
best to place them in that things in the model and controller folder can
see and use them?

The ‘lib’ directory would be the conventional place for this kind of
thing.


Regards,
John W.


Alice came to a fork in the road. “Which road do I take?” she asked.
“Where do you want to go?” responded the Cheshire cat.
“I don’t know,” Alice answered.
“Then,” said the cat, “it doesn’t matter.”

  • Lewis Carrol, Alice in Wonderland