removing attr_accessible from model (rails4 now uses strong params) and changed scope to also be rails4 compatible