We should remove the db method when Positron objects are copied from controller to view, so that there will be no way to call the database from the view.
However, we should make sure to do this in a way that doesn't break the Cells gem, which needs to copy model objects back into a controller context from the view.
We should remove the
db
method when Positron objects are copied from controller to view, so that there will be no way to call the database from the view.However, we should make sure to do this in a way that doesn't break the Cells gem, which needs to copy model objects back into a controller context from the view.