Updated the 'Rails Select Options' snippet so that it can be used in Ruby and Rails source. Also generalized how the object map is constructed.