From: Andrew Libby Date: 2006-12-10T04:47:06+09:00 Subject: Re: Module issue Hi Jason, Try Class OfferRenewallController < ApplicationController include Test def payment_made test end end I _think_ this is what you're looking for. Good luck. Andy Jason Vogel wrote: > Disclaimer: Ruby Nuby > > Source > > module Test # (filename my_test.rb) > > def test > puts "\n\ntest fired\n\n" > end > end > > class OfferRenewalController < ApplicationController > > def payment_made > > require 'my_test' > > Test.test > > end > > Error > NoMethodError in Offer renewalController#payment_made > > private method `test' called for Test:Module > > So what am I doing wrong? > > Thanks, > Jason > > -- Andrew Libby Tangeis, LLC Innovative IT Management Solutions alibby@tangeis.com