changing #render to #render_attribute

this avoids a naming conflict with rails view specs