For some reason the code I have included below does not interpolate the var开发者_运维技巧iables into the template. It simply copies the file over verbatim. I cannot figure out why.
https://gist.github.com/60484f7b57b06b6eb3e3
The Rails version is 2.3.4.
Thanks in advance!
Is there NO interpolation going on, or is the interpolation just done with blanks? Reason I ask is, that I think
class <%= @model_name.camelize %>
should be written as
class <%= model_name.camelize %>
HTH
/Carsten
精彩评论