I was a little off, but still haven't quite figured it out. I currently have:
> /lib/module/order_process.rb > module order_process > def process_order(id) > #do stuff > end > > > /lib/tasks/ordering.rake > > include 'order_process.rb' > namespace :send_report do > task :order => :environment do > process_order(id) > end > end > > /app/models/segment.rb > class Segment < ActiveRecord::Base > include 'report_csv_process.rb' > > bla bla > > end I tried removing the single quotes, without luck -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-talk+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---