Created
May 30, 2012 04:34
-
-
Save alanho/2833791 to your computer and use it in GitHub Desktop.
Monkey patch in Rails Initializers example
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
ActionDispatch::Callbacks.to_prepare do | |
Devise::Oauth2Providable::Client.class_eval do | |
attr_accessible :name, :website, :redirect_uri, :development_mode | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment