If you get

Anonymous modules have no name to be referenced by

when you’re using a Rails template, it can be caused by referencing an undefined variable.  You can pretend that message means that the [nothing.] in [nothing.]VARIABLE_NAME is an anonymous module.