You called an undefined method (title), probably mispelt a field?