With deep gratitude for ruby guru Remco van 't Veer who found out that you can not use constants in a Camping Controller (actually, I already knew it from a previous camping app, but I had stupidly forgotten it). Move it up to the main module and you're good to go.
Wrong
Camping.goes :Nowhere
module Nowhere
module Controllers
MY_CONSTANT = 'wrong' # Camping going nowhere
end
end
Correct
Camping.goes :ForPresident
module ForPresident
MY_CONSTANT = 'fine'
module Controllers
end
end
See my next post to see what this is all about.
You go Erik! Nicely done! Big ups to Guru Remco.. :-)
ReplyDelete