render field only responds to js format
fix rails-master tests