SystemExit: exit

ActionView::TemplateError (SystemExit: exit: SELECT * FROM product_stocklevels WHERE (product_stocklevels.product_id = 831 AND (size = 'W44 L 32' AND stock > 0)) LIMIT 1)

Before I paste more code, has anyone come across this before?

Pale Horse wrote:

ActionView::TemplateError (SystemExit: exit: SELECT * FROM product_stocklevels WHERE (product_stocklevels.product_id = 831 AND (size = 'W44 L 32' AND stock > 0)) LIMIT 1)

Before I paste more code, has anyone come across this before?

Maybe you need to paste more code. Only think we can tell from this is that you have a TemplateError in your view. Most likely a syntax error somewhere.

Robert Walker wrote:

Pale Horse wrote:

ActionView::TemplateError (SystemExit: exit: SELECT * FROM product_stocklevels WHERE (product_stocklevels.product_id = 831 AND (size = 'W44 L 32' AND stock > 0)) LIMIT 1)

Before I paste more code, has anyone come across this before?

Maybe you need to paste more code. Only think we can tell from this is that you have a TemplateError in your view. Most likely a syntax error somewhere.

The trace shows the following erroneous methods: