add options_for_select

add method `options_for_select` from Rails.