lib/looksist/hashed.rb in looksist-0.0.3 vs lib/looksist/hashed.rb in looksist-0.0.4
- old
+ new
@@ -1,11 +1,9 @@
module Looksist
module Hashed
extend ActiveSupport::Concern
- # inject after: :assortment, at: 'table', using: :supplier_id, populate: :supplier_name, bucket_name: 'suppliers'
-
class << self;
attr_accessor :redis_service
end
module ClassMethods
@@ -35,9 +33,9 @@
included do |base|
base.class_attribute :rules
end
def entity(entity_id)
- entity = entity_id.to_s.gsub('_id', '')
+ entity_id.to_s.gsub('_id', '')
end
end
end