I am executing some scripts from the script directory. script files: ---------------------- script1: require File.dirname(__FILE__) + '/../config/boot' require File.dirname(__FILE__) + '/../config/environment' module DataLoad
end --------------------- script 2 being executed: --------------------------------------- require File.dirname(__FILE__) + '/../config/boot' require File.dirname(__FILE__) + '/../config/environment' classB.generate ------------------------------------ classes in model dir: class A include DataLoad end class B < class A def self.generate end Error executing the script2: `const_missing': uninitialized constant AvailabilityReport::DataLoad (NameError) -- 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.

