Once Im viewing a video in my app, like /videos/7, id like to show other videos with the same category as the one being viewed.

So in my controller im using:

```
def show
    @category_videos = Video.where("category = Video.category")
end

```

And using in my view

```
<% @category_videos.each do |n| %>
  ...
<% end %>

```

But its not working, any suggestions please? Sorry im new to rails.