Sample Survey project in Ruby