use show_for and index_for
update Gemfile