Logidze v0.12.0 Release Notes

Release Date: 2020-01-02 // over 4 years ago
    • PR #143 Add :transactional option to #with_meta and #with_responsible ([@oleg-kiviljov][])

    0️⃣ Now it's possible to set meta and responsible without wrapping the block into a DB transaction. For backward compatibility :transactional option by default is set to true.

    Usage:

    Logidze.with_meta({ip: request.ip}, transactional: false) do
      post.save!
    end
    

    or

    Logidze.with_responsible(user.id, transactional: false) do
      post.save!
    end