Unable to access one of our categories

from (pry):3:in __pry__' [4] pry(main)> myCategory = Category.find_by(id 36) NoMethodError: undefined method id’ for main:Object
from (pry):4:in ` pry
[5] pry(main)>

Thank you @Benjamin_D. If anyone has to do this, just note there is a small typo in this post on the last step and you save with myCategory.save!

2 Likes