Lighthouse has a new layout.
Prefer the old one? Return to the old layout,
and switch back any time from the link at the top of each page.
This project is archived and is in readonly mode.
Raise correct error on attempt to access private method of AR object
#1268
The attached patch fixes a problem in Rails' response to
attempting to access a private method of an Active Record
object.
The existing tests were actually passing by coincidence - the
code was in fact raising NoMethodError, but it was doing so because
there is not a method named NoMethodError. The intended exception
was not getting raised due to improper syntax in the code.