Depot application built using pragmatic programmer - rails 4