Skip to content

Instantly share code, notes, and snippets.

@roelven
Created October 14, 2010 15:30
Show Gist options
  • Save roelven/626378 to your computer and use it in GitHub Desktop.
Save roelven/626378 to your computer and use it in GitHub Desktop.
Create extra ClientApplications on dev environment
# 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