I created a module  MyModule "my_module.rb" and put in a lib folder in
my rails app.

In my User.rb model I call include MyModule.

When I try to use a method inside MyModule I get an "undefined method
error". How do I include this module in the model?

Thanks

-- 
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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to