Made the rails partial more similar by setting a temp instance variable in the partial.
Throws an error because instance variable isn't defined yet.
Now convert helper methods with no arguments.
Use attribute consistently instead of more complex capture group.
Merged in master
Last tweaks ready for demo.