fix compass issue with rails4, add items resouces