RubyGems Navigation menu

ephemeron 0.2.0

Ephemeron improves the performance of your app. It takes on itself the persistence of the ActiveRecord objects. It protects you from saving the same object many times. It checks whether a fetched from a database object was used. It allows you to eliminate the controller's before_actions that are unnecessarily called. Ephemeron works in the context of the thread and does the bulk of its job (i.a. persistence) at the end of the thread's lifecycle. Although, you can trigger the finalization at any given moment. You don't have to make a distinction in the code for the part that is responsible for the domain logic and the other responsible for the application layers.

Gemfile:
=

install:
=

Versions:

  1. 0.6.1 March 28, 2023 (9.5 KB)
  2. 0.6.0 February 07, 2022 (9.5 KB)
  3. 0.5.0 August 28, 2020 (9.5 KB)
  4. 0.4.0 August 27, 2020 (9.5 KB)
  5. 0.3.0 August 27, 2020 (9.5 KB)
  6. 0.2.0 August 25, 2020 (9 KB)
Show all versions (8 total)

Runtime Dependencies (1):

rails >= 5.0, < 7.0

Development Dependencies (5):

jb ~> 0.7.0
rspec-mocks ~> 3.9
rubocop >= 0
sqlite3 >= 0

Owners:

Pushed by:

Authors:

  • Zbigniew Humeniuk

SHA 256 checksum:

=

Total downloads 11,089

For this version 1,416

Version Released:

License:

MIT

Required Ruby Version: >= 2.6.0

New versions require MFA: true

Links: