我不想在我的铁路3号卫星上与梅塔斯群岛进行搜索。 然而,当我开始在251号铁路预测之后,Im已在我的用户冷却指数行动中找到一种未界定的方法。 这部法典:
def index
@search = User.search(params[:search])
@users = @search.all
end
The start of my form:
<% form_for :search, @search, :html => {:method => :get} do |f| %>
<%= f.label :high_school_contains %>
<%= f.text_field :high_school_contains %><br />
<%= f.submit %>
<% end %>
在Gemfile:
gem meta_search
Both Ryan and Ernie Miller recommend code along those lines in the index action, but something is obviously wrong. Any ideas on what it could be?