Added Bucket line in pin.rb model