DmitryTsepelev/store_model: Work with JSON-backed attributes as ActiveRecord-ish models

13-Dec-2024 38
Work with JSON-backed attributes as ActiveRecord-ish models - DmitryTsepelev/store_model. StoreModel gem allows you to wrap JSON-backed DB columns with ActiveModel-like classes. 💪 Powered with Attributes API. You can use a number of familiar types or write your own 🔧 Works like ActiveModel. Validations, enums and nested attributes work very similar to APIs provided by Rails 1️⃣ Follows single responsibility principle. Keep the logic around the data stored in a JSON column separated from the model 👷‍♂️ Born in production.
Use coupon code:

RUBYONRAILS

to get 30% discount on our bundle!
Prepare for your next tech interview with our comprehensive collection of programming interview guides. Covering JavaScript, Ruby on Rails, React, and Python, these highly-rated books offer thousands of essential questions and answers to boost your interview success. Buy our 'Ultimate Job Interview Preparation eBook Bundle' featuring 2200+ questions across multiple languages. Ultimate Job Interview Preparation eBook Bundle