Hello Robert :)
No no, i need a clear category table. Here's what i done
I generated a migration
class AddCategoriesToPins < ActiveRecord::Migration
def change
add_column :pins, :category, :string
end
end
in my Pin Uploading form i added
<%= f.select :category, [ 'Box', 'Cover', 'Poster' ], :prompt => 'Select
One' %>
Now, the Selecting a Category when uploading Works, and the category
shows up properly in the Database.
But i want the user to click on that category in the Show Page and see
all the pin's that are in that category.
P.S.: Is this method even a good one ? I dont want the user's to be able
to create, edit, or delete a Category. Just selecting it.