Sha256: 51dd2b5d304a9e2d954c0fd9208d7c81b84ad881b12c3c12ddb35855d3525b13
Contents?: true
Size: 337 Bytes
Versions: 10
Compression:
Stored size: 337 Bytes
Contents
class << ActiveRecord::Base def concerned_with(*concerns) concerns.each do |concern| require_dependency "#{name.underscore}/#{concern}" end end end class << ActionController::Base def concerned_with(*concerns) concerns.each do |concern| require_dependency "#{name.underscore}/#{concern}" end end end
Version data entries
10 entries across 10 versions & 1 rubygems