From 6ed0e51be625dc84ba7ff78d3ab025c830745f01 Mon Sep 17 00:00:00 2001 From: Tilo Sloboda Date: Wed, 13 Nov 2024 14:09:11 -0800 Subject: [PATCH 1/2] readme --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index f74477b..eaf1488 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,7 @@ If your requirements are different, this approach might not work for you. In tha ## Requirements -* ActiveRecord >= 6 +* ActiveRecord >= 6 # including 7.x * [I18n](http://guides.rubyonrails.org/i18n.html) ## Installation From a4fcd69118cb609fd54211fe588362d75dd44163 Mon Sep 17 00:00:00 2001 From: Tilo Sloboda Date: Thu, 14 Nov 2024 08:24:30 -0800 Subject: [PATCH 2/2] update --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index eaf1488..df60458 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,8 @@ [![codecov](https://codecov.io/gh/tilo/embedded_localization/graph/badge.svg?token=MX3ULB0S1Y)](https://codecov.io/gh/tilo/embedded_localization) [![Gem Version](https://badge.fury.io/rb/embedded_localization.svg)](http://badge.fury.io/rb/embedded_localization) +`embedded_localization` allows you to store your translations directly in the same record. + `embedded_localization` is compatible with Rails 6.x, 7.x, and adds model translations to ActiveRecord. `embedded_localization` is compatible with and builds on the new [I18n API in Ruby on Rails](http://guides.rubyonrails.org/i18n.html) `embedded_localization` is very lightweight, and allows you to transparently store translations of attributes right inside each record — no extra database tables needed to store the localization data! Make sure that your database default encoding is UTF-8 or UFT-16.