Sha256: efaf8b26ad81ec15fe9d0c46f77a6c5ae3836e30c53f8a444d70249cbce062c2
Contents?: true
Size: 299 Bytes
Versions: 3
Compression:
Stored size: 299 Bytes
Contents
# Intialises the gem by including some extension to ActiveRecord::Base require File.dirname(__FILE__) + '/has_setting/ar_extensions' require File.dirname(__FILE__) + '/has_setting/setting' ActiveRecord::Base.class_eval do include(HasSetting::InstanceMethods) extend(HasSetting::ClassMethods) end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
simplificator-has_setting-0.1.1 | lib/has_setting.rb |
simplificator-has_setting-0.1.2 | lib/has_setting.rb |
simplificator-has_setting-0.2.0 | lib/has_setting.rb |