You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a Rails app that I recently updated to 7.1.1. I've noticed that Mobility stopped working. When updating a model attribute the value doesn't change. And when creating a new record, the attribute remains nil.
Context
Tested both with v1.2.9 and 1.3.0.rc1. Same problem for both versions. I use Postgres in my app.
My model looks like this:
class Profession < ApplicationRecord
extend Mobility
translates :name, type: :string
end
If I comment out translates :name, type: :string it updates the attribute value.
Expected Behavior
Should update attribute value on update and not have a nil value on create.
Actual Behavior
See screenshot below for details:
The text was updated successfully, but these errors were encountered:
I have a Rails app that I recently updated to 7.1.1. I've noticed that
Mobility
stopped working. When updating a model attribute the value doesn't change. And when creating a new record, the attribute remainsnil
.Context
Tested both with
v1.2.9
and1.3.0.rc1
. Same problem for both versions. I use Postgres in my app.My model looks like this:
If I comment out
translates :name, type: :string
it updates the attribute value.Expected Behavior
Should update attribute value on update and not have a nil value on create.
Actual Behavior
See screenshot below for details:
The text was updated successfully, but these errors were encountered: