forked from doorkeeper-gem/doorkeeper
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use Time instead of DateTime in Revocable concern to play nice with AR
Fixes NoMethodError - undefined method 'getlocal' when calling the /oauth/token path. Active record works better with Time, as opposed to DateTime objects, see issue doorkeeper-gem#668 for more details. Also see https://gist.github.com/pixeltrix/e2298822dd89d854444b for more about when to use DateTime.
- Loading branch information
1 parent
8b59c77
commit 3af2f51
Showing
3 changed files
with
10 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters