add options_for_select

add method `options_for_select` from Rails.
add rails callbak methods