reallycare_utils 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
@@ -1,2 +1 @@
|
|
1
|
-
ActiveRecord::Base.send(:include, ReallycareUtils::Bitmask)
|
2
|
-
Rails.logger.debug("AJ: Including")
|
1
|
+
ActiveRecord::Base.send(:include, ReallycareUtils::Bitmask)
|
data/lib/reallycare_utils.rb
CHANGED
@@ -1,6 +1,5 @@
|
|
1
1
|
require 'reallycare_utils/bitmask'
|
2
|
-
require '
|
3
|
-
require 'reallycare_utils/activerecord_extensions'
|
2
|
+
require 'reallycare_utils/activerecord_extensions' if defined?(Rails) && Rails::VERSION::MAJOR >= 3
|
4
3
|
|
5
4
|
module ReallycareUtils
|
6
5
|
# Your code goes here...
|