Skip to content

ActiveRecord::Base.default_timezone is deprecated and will be removed in Rails 7.1 #234

@sprileyMSTS

Description

@sprileyMSTS

There is a deprecation warning in Rails 7 raised by https://github.com/rsim/ruby-plsql/blob/master/lib/plsql/schema.rb#L103

ar_class.default_timezone is equivalent to ActiveRecord::Base.default_timezone which is deperecated in favor of ActiveRecord.default_timezone

DEPRECATION WARNING: ActiveRecord::Base.default_timezone is deprecated and will be removed in Rails 7.1.
Use ActiveRecord.default_timezone instead.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions