From 98d5dff38acd7e416dff8297bc86f8528cf9fba0 Mon Sep 17 00:00:00 2001 From: Sparkmasterflex Date: Thu, 2 Jan 2025 11:02:43 -1000 Subject: [PATCH] removing attr_accessible this gem apparently depends on `protected_attributes_continued` gem from LM and we've removed it from LM for the rails 7 update b/c it's no longer supported and rails has deprecated the attr_accessible in lieu of strong parameters --- lib/oauth-plugin/version.rb | 2 +- lib/oauth/models/consumers/token.rb | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/oauth-plugin/version.rb b/lib/oauth-plugin/version.rb index d74aac1..4240a21 100644 --- a/lib/oauth-plugin/version.rb +++ b/lib/oauth-plugin/version.rb @@ -1,5 +1,5 @@ module Oauth module Plugin - VERSION = "0.6.1.pre" + VERSION = "0.7.0" end end diff --git a/lib/oauth/models/consumers/token.rb b/lib/oauth/models/consumers/token.rb index 191e409..10e2ac3 100644 --- a/lib/oauth/models/consumers/token.rb +++ b/lib/oauth/models/consumers/token.rb @@ -12,8 +12,6 @@ def self.included(model) model.send(:include, InstanceMethods) model.send(:extend, ClassMethods) - model.send(:attr_accessible, :user_id, :token, :refresh_token) - end module ClassMethods