Fix an exception on the error page when a controller index action raised an PG::AmbiguousColumn error because the model `search` method generated SQL with an ambiguous column reference. In this case the error page tried to generate data attributes for the <body> tag, but this failed because evaluating the `current_item` raised an exception again.
13 KiB
13 KiB