Filtering by related model...

2011-01-07 Thread TSG
I know I've read this somewhere, but I've been searching for an hour now and cannot find it. I have a Product model I have a Category model A product can have many categories The categories table has a field, slug, that is used for SEO purposes. I currently have a beautifully formatted, paginat

Application with 3 user tables

2011-01-07 Thread TSG
I am rebuilding an application from scratch while attempting to keep all of the pre-existing data (around 100,000 users). In the current application, it has 4 tables: affiliates administrators administrators_permissions users On the front-end of the site, it has what you might expect: Affiliates