Log message #110382

# At Username Text
# Aug 7th 2008, 20:26 polywog freebox:
# Aug 7th 2008, 20:25 dsnap thanks
# Aug 7th 2008, 20:25 thestaff even tough I do it in the controler as well
# Aug 7th 2008, 20:25 thestaff but that means I have to parse the array again in the view
# Aug 7th 2008, 20:24 polywog dsnap: Configure::write('debug',0);
# Aug 7th 2008, 20:24 dsnap how can I disable that <!-- 4.444s --> at the bottom generated in debug?
# Aug 7th 2008, 20:24 Matt1 thestaff: yes
# Aug 7th 2008, 20:23 thestaff I guess I should make the links in the view
# Aug 7th 2008, 20:22 thestaff but I need some link in there
# Aug 7th 2008, 20:22 Matt1 freebox: sorry, my bad :(
# Aug 7th 2008, 20:22 thestaff well I wanted to build an array for a table
# Aug 7th 2008, 20:22 freebox Matt1: in a controller :)
# Aug 7th 2008, 20:22 Matt1 thestaff: why would you need to access a helper in a view ?
# Aug 7th 2008, 20:22 freebox lol
# Aug 7th 2008, 20:21 polywog ACTION thinks
# Aug 7th 2008, 20:21 polywog it would have to be like a post rating or something
# Aug 7th 2008, 20:21 freebox thestaff: helper is for viewer
# Aug 7th 2008, 20:21 polywog heh
# Aug 7th 2008, 20:21 polywog ACTION hits himself over the head
# Aug 7th 2008, 20:20 polywog grrrrrrrrrrrrrrrrrr
# Aug 7th 2008, 20:20 thestaff how can I get acces to the html help in the controler ?
# Aug 7th 2008, 20:20 polywog make the primary key in your habtm rating both cols
# Aug 7th 2008, 20:20 freebox uhm
# Aug 7th 2008, 20:19 polywog off the top of my head
# Aug 7th 2008, 20:19 polywog users habtm ratings, ratings belong to posts, posts has many ratings
# Aug 7th 2008, 20:19 polywog oic, so they don't rate more than once
# Aug 7th 2008, 20:18 freebox ratings and users has no relationship?
# Aug 7th 2008, 20:17 freebox no, users will rate my posts
# Aug 7th 2008, 20:17 polywog you want to rate users as well?
# Aug 7th 2008, 20:17 freebox and belongs to user?
# 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 polywog if you are rating posts, then post hasone rating, rating belongs to post
# Aug 7th 2008, 20:17 stabb HAI
# Aug 7th 2008, 20:16 freebox posts/articles
# Aug 7th 2008, 20:16 polywog what are you rating?
# Aug 7th 2008, 20:15 freebox /
# 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 SamuraiDio hi
# Aug 7th 2008, 20:14 polywog jezek you might have to write a custom validation
# Aug 7th 2008, 20:13 polywog woops, i meant Set::extract($incidents, '{n}.Action.{n}.actions_phone')
# Aug 7th 2008, 20:13 polywog does anyone know if I how I can do __('actions_phone', true) => array_sum(Set::extract($incidents, '{n}.Action.{n}.actions_phone')),