What does Rails script/server -d do differently that would cause a cells template to not be found
Posted
by Brian Deterling
on Stack Overflow
See other posts from Stack Overflow
or by Brian Deterling
Published on 2010-03-19T02:42:52Z
Indexed on
2010/03/19
2:51 UTC
Read the original article
Hit count: 296
I'm using cells. I used the generator to create a cell so the path to my template was automatically chosen to be app/cells/displayer/table.html.erb where displayer is the name of the cell and table is the name of the state. When I run script/server in the foreground, everything works perfectly. But when I run script/server -d, I get "Missing template displayer/table.erb in view path app/cells:app/cells/layouts". Even if I change table.html.erb to table.erb, I see the same message - the ActionView code is checking both but not finding either.
Even if you're not familiar with cells, does anyone know what happens differently in daemon mode related to view paths? In this case, it appears that the plugin is not correctly registering the view path.
© Stack Overflow or respective owner