Re: Custom class

Pål Bergström
Tue, 06 Oct 2009 09:05:07 -0000

Leonardo Mateo wrote:
> 2009/10/6 P�l Bergstr�m
<rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org>:
>>
>> Where do I put a custom class?
> It depends on what is it''s purpose but, usually, you''ll
put them on
> your models directory.
>
>> How do I use it?
> Just like you use every class.
>
> --
> Leonardo Mateo.
> There''s no place like ~

I can''t make it work. I''ve put in the lib directory. Do I need
to make a
require or something? I get an error "private method `test'' called
for
...".