Sha256: ab225f3fd50aa2576ca900cde11361132c66a0059f201d79b2ad0b1b56924b29

Contents?: true

Size: 304 Bytes

Versions: 1

Compression:

Stored size: 304 Bytes

Contents

require "mm_uses_no_id/version"
require 'active_support/concern'

module MmUsesNoId
  extend ActiveSupport::Concern

  included do
    @keys.delete('_id')

  end

  module ClassMethods

  end

  def eql?(other)
    other.is_a?(self.class) && other.attributes == attributes
  end
  alias :== :eql?
  
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
mm_uses_no_id-0.0.4 lib/mm_uses_no_id.rb