Error rendering view with number in the name

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?

Visit Indonesia 2008 wrote:

Maybe we need to see your view script :slight_smile: so we can find out the trouble key.

Reinhart http://teapoci.blogspot.com

Found the problem. Ended up be a restful routes issue. Created a custom route and resolved the issue.

Thanks anyway,