you need to require it in rails 3 or add lib directory to autoload
paths
Robert pankowecki
--
You received this message because you are subscribed to the Google Groups Ruby
on Rails: Talk group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this
I am having the same issue...
--
You received this message because you are subscribed to the Google Groups Ruby
on Rails: Talk group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to
On Friday 17 September 2010, Almog Friedman wrote:
i have a function that i wanna use in different models and i wanna do
it DRY.
so my best option as i see it is to include a module i made (that is
in the lib/ directory) in the model.
my code basicly looks something like this (for testing
the error i get is:
NameError: uninitialized constant Test::ModelHelper
On Fri, Sep 17, 2010 at 7:08 PM, Michael Schuerig mich...@schuerig.dewrote:
On Friday 17 September 2010, Almog Friedman wrote:
i have a function that i wanna use in different models and i wanna do
it DRY.
so my best
4 matches
Mail list logo