Adapting select box for rails-4