don't rely on the columns hash to get defaults. follow-up to #17169.
This will also get the defaults from attribute definitions like: attribute :type, :string, default: "SomethingElse"
Showing
想要评论请 注册 或 登录
This will also get the defaults from attribute definitions like: attribute :type, :string, default: "SomethingElse"