Skip to content
This repository
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

file 7 lines (7 sloc) 0.165 kb
1 2 3 4 5 6 7
class << ActiveRecord::Base
  def concerned_with(*concerns)
    concerns.each do |concern|
      require_dependency "#{name.underscore}/#{concern}"
    end
  end
end
Something went wrong with that request. Please try again.