我把这种方法称作我的控制员:
delete_heard_timeline_event(current_user.id, @showable_video.user.id, @showable_video.video.id)
我的榜样是:
def delete_heard_timeline_event(actor_id, subject_id, secondary_subject_id)
TimelineEvent.find_by_actor_id_and_subject_id_and_secondary_subject_id_and_event_type(actor_id, subject_id, secondary_subject_id, heard_event ).destroy
end
为什么铁路告诉我,这种方法没有界定?