i\'m trying to Add Categories to my Rails app, but don\'t quite know how to do this.
I have many Pins(Images) and want the user to be able to assign a category on th
you might wanna add a def to_s method on your Category model. I believe it will display some weird memory address code just by using plain Category.all on the f.select option. Everything else looks great!
def to_s
Category.all
f.select