Update table_for.rb

remove dependency on request object.