#This file is run when your Rails app starts up. Use it #to inject the plugin's functionality into Rails. #First, require the files you need require 'flouzometer' #Then, include the modules ActiveRecord::Base.send(:include, ActsAsMonkey::ActiveRecordExtensions) ActionController::Base.send(:include, ActsAsMonkey::ActionControllerExtensions) ActionView::Base.send(:include, ActsAsMonkey::ActionViewExtensions) #If you were writing a very small plugin that would just #add a single method or monkey patch some little thing in #Rails, you could just do that here instead of putting it #in a file of its own.