I’ll get right to it and post some code:
Site_controller < AC
#do some stuff here
class Project < ARB
destroy_all(“site_id = ?”, site)
This produces a no method error:
NoMethodError (undefined method `delete_all_for_site’ for Project:Class)
What? delete_for_site is clearly a Project method. What gives?