Monthly Archives: July 2010

Create Recurring job using delayed job

basically delayed job is using for background job. but we can use it as a recurring job.
here’s the step

first, install delayed_ojb gem. you can see how to install it at
http://github.com/collectiveidea/delayed_job

then add a new library to your rails apps directory ( /Libs ) e.g: jobs.rb Continue reading

facebook authentication using oauth2 gem in rails

in this section,  i wanna share how to intregrate the Facebook’s new OAuth authorization in Ruby On Rails, using oauth2 gem.

let’s get started !

first, install the oauth2 gem, you can get it from here

http://github.com/intridea/oauth2

then create a controller call oauth_controller.rb Continue reading