recipe ingredients parser and manipulator (rails 4)