Created
February 6, 2011 01:43
-
-
Save gertig/813015 to your computer and use it in GitHub Desktop.
Rails 3 demo of using HTTParty and Moment for delayed jobs
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
# controllers/custom_controller.rb | |
class CustomController < ApplicationController | |
def index | |
Person.create_schedule | |
end | |
def mycustomaction | |
#Do Something with the user_id | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment