How to extend my search? I would like the user to user user_controllers # index when the user clicks the search button.
Now I have 3 models.
User> User_File> Prefecture
User_profile contains columns such as user_id and prefect_id.
In the prefecture, the model has its own identifier and name (Exp: California, New York)
Now I have installation models /user.rb like this. If I want to add a prefecture search, what should I add to this? The user must be able to enter California , and he performs a search.
searchable do text :user_profile_nickname do user_profile.nickname end text :user_profile_introduction do user_profile.introduction end text :tag_list do tag_list end end
source share