Bartosz Pieńkowski

Joined

50 Experience
0 Lessons Completed
0 Questions Solved

Activity

Posted in Timestamp management with ActiveRecord::Events

Hi guys!

I recently released a gem for managing timestamp fields in ActiveRecord models and I'm excited to share it with you.

By adding convenience methods on top of a datetime field, the gem allows you to manage timestamps in a similar way to how ActiveRecord handles the created_at and updated_at fields.

You can check it out here:
https://github.com/pienkowb/active_record-events

I hope you can make use of the gem in some of your projects :)

Screencast tutorials to help you learn Ruby on Rails, Javascript, Hotwire, Turbo, Stimulus.js, PostgreSQL, MySQL, Ubuntu, and more.

© 2024 GoRails, LLC. All rights reserved.