Don’t Preface Partials With Numbers
By chris on December 9th 2007 in /dev/rails | 858 views
I just learned today that it’s a bad idea to name your Rails partials starting with a number, ie: _4_happy_places.html.erb. Turns out Rails throws the following error if you do:
`@4_happy_places’ is not allowed as an instance variable name
This has been tested against Rails 2.0.1.
