# File lib/comment_methods.rb, line 35 def find_commentable(commentable_str, commentable_id) model = commentable_str.constantize model.respond_to?(:find_comments_for) ? model.find(commentable_id) : nil end