I'm trying to add a mixin i wrote (ModelExtensions module in lib/model_extensions.rb) to ActiveRecord::Base so that i can use the methods in it in all my classes. (well actually there's only a single method in there at the moment)
I've added this to environment.rb (right at the bottom):
require 'model_extensions' ActiveRecord::Base.send(:extend, ModelExtensions)
Is the method supposed to be a class method or an instance method? If it's supposed to be and instance method, try include instead of extend:
ActiveRecord::Base.send(:include, ModelExtensions)