Page 195 of 211,273, showing 20 records out of 4,225,449 total, starting on record 3,881, ending on 3,900
# | Username | Text | |
---|---|---|---|
# | Aug 7th 2008, 20:15 | freebox | i'm adding rating stars to my blog app. my question is about the relationship.. Rating belongsto user? Rating hasmany user? Rating belongsto post? etc.. |
# | Aug 7th 2008, 20:15 | freebox | / |
# | Aug 7th 2008, 20:16 | polywog | what are you rating? |
# | Aug 7th 2008, 20:16 | freebox | posts/articles |
# | Aug 7th 2008, 20:17 | stabb | HAI |
# | Aug 7th 2008, 20:17 | polywog | if you are rating posts, then post hasone rating, rating belongs to post |
# | Aug 7th 2008, 20:17 | polywog | then do some voodoo in your controller to calc the average rating before saving |
# | Aug 7th 2008, 20:17 | freebox | and belongs to user? |
# | Aug 7th 2008, 20:17 | polywog | you want to rate users as well? |
# | Aug 7th 2008, 20:17 | freebox | no, users will rate my posts |
# | Aug 7th 2008, 20:18 | freebox | ratings and users has no relationship? |
# | Aug 7th 2008, 20:19 | polywog | oic, so they don't rate more than once |
# | Aug 7th 2008, 20:19 | polywog | users habtm ratings, ratings belong to posts, posts has many ratings |
# | Aug 7th 2008, 20:19 | polywog | off the top of my head |
# | Aug 7th 2008, 20:20 | freebox | uhm |
# | Aug 7th 2008, 20:20 | polywog | make the primary key in your habtm rating both cols |
# | Aug 7th 2008, 20:20 | thestaff | how can I get acces to the html help in the controler ? |
# | Aug 7th 2008, 20:20 | polywog | grrrrrrrrrrrrrrrrrr |
# | Aug 7th 2008, 20:21 | polywog | ACTION hits himself over the head |
# | Aug 7th 2008, 20:21 | polywog | heh |