Bitly API: Authentication

Originally posted on Christophe Geers' Blog:
Introduction I was playing around this morning with the Bitly API. Like the Dropbox API they use OAuth for authentication. But instead of version 1.0 they use the OAuth 2 draft specification. Wondering how much it differs from the previous version I created a Bitly account and started coding……

Ruby Through Rails PART 2 – Bundler details

Originally posted on narutosanjiv:
In these tutorial, I am going discuss how Bundler works in a Rails application. What is bundler? Bundler is a gem for managing dependencies of Ruby (and Rails) applications. While using RVM, Bundler is always installed in global gemset. For example, on my machine, bundler is installed inside folder /home/sanjiv/.rvm/gems/ruby-2.0.0-p247@global/gems/.  Usually common…

Rails-Dynamic-DropDown

I have found many codes and blog posts for dynamic drop down with mysql in rails. But I want to implement it with mongoid in my application. Many codes that I found are not perfectly working for this. Some gave me problem of non appearing data during edit. So I tried to develop my own…