I have a large number of html files that I want my application to render
and embed ruby into from active record.
The files are named as such:
02_welcome_intro.html.erb
06_explore_it.html.erb
50_standard_presentation.html.erb
55_mc_IE.html.erb
I’m getting the following error when attempting to render any of these
views:
“undefined method `view_paths’ for 2:Fixnum”
I’ve tried using all the different forms of “render” and all return the
same error. Apparently it doesn’t like having numbers in the name of the
view file.
Anyway around this?