hyper-mesh
hyper-mesh copied to clipboard
add to_key method
class ActiveRecord::Base
def to_key
backing_record.object_id
end
end
See https://github.com/ruby-hyperloop/hyper-react/issues/244 for details
you would actually add the method to InstanceMethods module
Can be closed?