Fixed issue#9 with rails chosen