Skip to content

Commit

Permalink
comment
Browse files Browse the repository at this point in the history
  • Loading branch information
dorner committed Jan 13, 2025
1 parent 7c45f40 commit a78d04d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
8 changes: 8 additions & 0 deletions .idea/modules.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion lib/mobility/backends/active_record/table.rb
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,8 @@ def visit_Mobility_Plugins_Arel_Attribute(object)
end

# Returns translation for a given locale, or builds one if none is present.
# @param [Boolean] for_read
# @param [Boolean] for_read will be set if trying to read a value, in which case blank
# translation records will not be attached to the parent record.
# @param [Symbol] locale
def translation_for(locale, for_read: false, **)
translation = translations.in_locale(locale)
Expand Down

0 comments on commit a78d04d

Please sign in to comment.