Hi,

i'm trying to use the acts as commentable Plugin, bit it seems not to
work:

My Commentable Model is the Task Class.

if i try to get the Comments of a Task Object , e.g.

task.find(:first)
task.comments

it occurs this error:

ActiveRecord::StatementInvalid: Mysql::Error: Unknown column
'comments.task_id' in 'where clause': SELECT * FROM `comments` WHERE
((`comments`.`task_id` = 4))  ORDER BY created_at ASC

What do i made wrong?

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-t...@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to