vendor/plugins/acts_as_commentable/lib/comment_methods.rb
def find_comments_by_user(user)
        find(:all,
          :conditions => ["user_id = ?", user.id],
          :order => "created_at DESC"
        )
      end
# Helper class method to lookup all comments assigned
# to all commentable types for a given user.
Helper class method to lookup all comments assigned
to all commentable types for a given user.
Helper class method to lookup all comments assigned to all commentable types for a given user .
def find_comments_by_user(user)
        find(:all,
          :conditions => ["user_id = ?", user.id],
          :order => "created_at DESC"
        )
      end
def find_comments_by_user ( user ) find ( :all , :conditions => [ "user_id = ?" , user . id ] , :order => "created_at DESC" ) end
Helper class method to lookup all comments assigned
to all commentable types for a given user.
Helper class method to lookup all comments assigned to all commentable types for a given user .
user