fixed circular dependency - rails4 complains about class loading
added attributes for pinterest