Skip to content

support i18n#230

Merged
kbrock merged 4 commits intoactive-hash:masterfrom
ryu-sato:i18n
Jul 22, 2024
Merged

support i18n#230
kbrock merged 4 commits intoactive-hash:masterfrom
ryu-sato:i18n

Conversation

@ryu-sato
Copy link
Contributor

Hi, I am hoping that ActiveHash will support i18n.

Since the reason why #170 does not merge for a long time is that it needs tests, I created a new PR that adds tests based on #170.

  • bundle exec rspec passed

@kbrock
Copy link
Collaborator

kbrock commented Jul 14, 2024

I think a test would be to add a localization file in specs and verify that the translated name comes through.

Also, could you remove the merge branch and rebase this whole branch onto master? Then you can just squash your two commits.
If you do not know how to do, I may be able to do this while I merge.

@ryu-sato
Copy link
Contributor Author

@kbrock Thank you for your feedback. I have addressed your feedback.

@kbrock kbrock merged commit a90148f into active-hash:master Jul 22, 2024
kbrock added a commit to kbrock/active_hash that referenced this pull request Jul 29, 2025
- Add i18n support active-hash#230 @ryu-sato
- Add `column_names` method active-hash#311 @hatsu38
- Support Active Record 7.2 active-hash#317 @ashleyHutton
- Support ruby 3.4 active-hash#328 @flavorjones
- Add `:alias` to `has_many :through` active-hash#329 @alexgriff
- Add Active Record 8.0 active-hash#324 @flavorjones

- Fix Do not suppress load errors#309 @andreynering
- Ensure `field_names` are all strings active-hash#312 @flavorjones
- Hide private `add_default_value` active-hash#314 @kbrock
- Fix `exists?(nil)` active-hash#320 @y-yagi
- Enance Enum support active-hash#321 @hatsu38
- Updated docs active-hash#326 @y-yagi

- Drop Active Record < 6.1. Ruby < 3.0 active-hash#324 @flavorjones
kbrock added a commit to kbrock/active_hash that referenced this pull request Jul 29, 2025
Added
=====

- Add i18n support active-hash#230 @ryu-sato
- Add `column_names` method active-hash#311 @hatsu38
- Support Active Record 7.2 active-hash#317 @ashleyHutton
- Support ruby 3.4 active-hash#328 @flavorjones
- Add `:alias` to `has_many :through` active-hash#329 @alexgriff
- Add Active Record 8.0 active-hash#324 @flavorjones

Fixed
=====

- Fix Do not suppress load errors#309 @andreynering
- Ensure `field_names` are all strings active-hash#312 @flavorjones
- Hide private `add_default_value` active-hash#314 @kbrock
- Fix `exists?(nil)` active-hash#320 @y-yagi
- Enance Enum support active-hash#321 @hatsu38
- Updated docs active-hash#326 @y-yagi

Removed
=======

- Drop Active Record < 6.1. Ruby < 3.0 active-hash#324 @flavorjones
This was referenced Jul 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants