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
.DEPRECATION WARNING: Rails.application.secrets is deprecated in favor of Rails.application.credentials and will be removed in Rails 7.2. (called from authenticate_token! at /Users/yahorzhuchkou/Projects/hackerspace.by/app/controllers/bramnik_controller.rb:56)
Please pass the coder as a keyword argument:
serialize :billing_address, coder: JSON
(called from class:EripTransaction at /Users/yahorzhuchkou/Projects/hackerspace.by/app/models/erip_transaction.rb:39)
DEPRECATION WARNING: Passing the coder as positional argument is deprecated and will be removed in Rails 7.2.
Please pass the coder as a keyword argument:
serialize :customer, coder: JSON
(called from class:EripTransaction at /Users/yahorzhuchkou/Projects/hackerspace.by/app/models/erip_transaction.rb:40)
DEPRECATION WARNING: Passing the coder as positional argument is deprecated and will be removed in Rails 7.2.
Please pass the coder as a keyword argument:
serialize :payment, coder: JSON
(called from class:EripTransaction at /Users/yahorzhuchkou/Projects/hackerspace.by/app/models/erip_transaction.rb:41)
DEPRECATION WARNING: Passing the coder as positional argument is deprecated and will be removed in Rails 7.2.
Please pass the coder as a keyword argument:
serialize :erip, coder: JSON
(called from class:EripTransaction at /Users/yahorzhuchkou/Projects/hackerspace.by/app/models/erip_transaction.rb:42)
The text was updated successfully, but these errors were encountered:
yahor
changed the title
Rails model serialize methods syntax upgrade
Rails DEPRECATION WARNINGS: model serialize methods syntax upgrade and Rails.application.credentials
Feb 17, 2024
.DEPRECATION WARNING:
Rails.application.secrets
is deprecated in favor ofRails.application.credentials
and will be removed in Rails 7.2. (called from authenticate_token! at /Users/yahorzhuchkou/Projects/hackerspace.by/app/controllers/bramnik_controller.rb:56)https://edgeapi.rubyonrails.org/classes/ActiveRecord/AttributeMethods/Serialization/ClassMethods.html
Please pass the coder as a keyword argument:
serialize :billing_address, coder: JSON
(called from class:EripTransaction at /Users/yahorzhuchkou/Projects/hackerspace.by/app/models/erip_transaction.rb:39)
DEPRECATION WARNING: Passing the coder as positional argument is deprecated and will be removed in Rails 7.2.
Please pass the coder as a keyword argument:
serialize :customer, coder: JSON
(called from class:EripTransaction at /Users/yahorzhuchkou/Projects/hackerspace.by/app/models/erip_transaction.rb:40)
DEPRECATION WARNING: Passing the coder as positional argument is deprecated and will be removed in Rails 7.2.
Please pass the coder as a keyword argument:
serialize :payment, coder: JSON
(called from class:EripTransaction at /Users/yahorzhuchkou/Projects/hackerspace.by/app/models/erip_transaction.rb:41)
DEPRECATION WARNING: Passing the coder as positional argument is deprecated and will be removed in Rails 7.2.
Please pass the coder as a keyword argument:
serialize :erip, coder: JSON
(called from class:EripTransaction at /Users/yahorzhuchkou/Projects/hackerspace.by/app/models/erip_transaction.rb:42)
The text was updated successfully, but these errors were encountered: