Created
October 14, 2010 15:30
-
-
Save roelven/626378 to your computer and use it in GitHub Desktop.
Create extra ClientApplications on dev environment
This file contains hidden or 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
# Create extra ClientApplications on dev environment | |
# Run in script/console | |
# | |
# Thanks Johan! | |
ClientApplication.all.each { |app| AccessToken.create(:user_id => 303477976, :client_application_id => app.id, :authorized_at => Time.now) } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment