fixed the rails select tag bug.