Closed sandipransing closed 13 years ago
Well, if you raise an exception everybody immediatly notice that something is wrong. and in your case I suggest to disable asset copying for heroku environment.
Prolly needs this:
config/initializers/active_scaffold.rb:
ACTIVE_SCAFFOLD_INSTALL_ASSETS = false
looks perfect. @vhochstein your views ?
Yes Robert is right. His statement shows you how to disable asset copying if you are using activescafffold as a gem. If you are using it as a plugin you have to add that code line somewhere else eg active_scaffold_env.rb
As i am deploying on heroku staging environment. It gaves me file permission error. I think instead raising exception it would be good to log exception.