Danny Burkes wrote in post #554031:
David Modernfossil wrote:
Is there a method to use instead of model.find(id) that returns nil if nothing is found - meaning there is no id that matches?
Model.find_by_id(1)
Worked perfectly for me! Thanks!
Danny Burkes wrote in post #554031:
David Modernfossil wrote:
Is there a method to use instead of model.find(id) that returns nil if nothing is found - meaning there is no id that matches?
Model.find_by_id(1)
Worked perfectly for me! Thanks!