Category / product association

I have a product model with a category id in it and a category model. They are linked together by this id.
It had been working great, on my category show page I would basically say there are X products in this category.

The products also have a start and end date to be shown on the site, I just modified the start and end dates are now these products don’t show up in any category. (but nothing in the product category has changed)…

Do you need to see the category controller & view? I’ll post it to a pastebin.

I think this may have happened before, but not sure what I did to resolve it.

ok, my bad. The start date in the categories and products are a day off.

I’ll have to fix that.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs