>git filter-branch --tree-filter 'rm -f *.hdf5' HEAD
fatal: HEAD: no such path in the working tree.
Use 'git <command> -- <path>...' to specify paths that do not exist locally.
上面的代码由下面的代码调用,这是一个搜索表单。
<td><%= check_box_tag "words_info[]",word.id,false,{id:id} %><label for="<%=id%>" >追加</label></td>
<h2>フラッシュカードを作成してください</h2><br>
<div class="col-md-12">
<h4>検索</h4>
<%= search_form_for @q,url:start_words_path do |f| %>
<%= f.label :title_cont, 'タイトル' %>
<%= f.text_field :title_cont %>
<%= f.label :user_name_cont,"作者"%>
<%= f.text_field :user_name_cont%>
<%= f.label :answer_cont,"答え"%>
<%= f.text_field :answer_cont%>
<%= f.label :question_cont,"問題"%>
<%= f.text_field :question_cont%>
<%= button_tag :type => "submit", :class =>"btn btn-send" do %>
<i class="material-icons left">search</i>検索
<% end %>
<%end%>
<%= form_tag({:action=>"practice"}, {:method=>"get"}) do %>
<%=render "words/words_index"%> #rendered here
<hr>
<%= submit_tag "完了" , class:"btn btn-large btn-send"%>
<% end%>
</div>