Charles Fonlupt


130 Experience
1 Lesson Completed
0 Questions Solved


I found a solution :

In the model add : searchkick word_start: [:title, :body]

def search_data
title: title,
rich_text_content: body,

@Chris : great video. I am trying to implement a similar solution but my model is using Action Text for the body and I am not able to search on that field. When I try to define a data set in my model I am not able to index the content... Any help ?

Posted in How do I build conditional form fields?

Hi Chris :

Does this issue was treated ? I have seen information on nested forms and wizzard forms, but nothing on that specific point. I would be great to hace some well documented reference.

All the best,

logo Created with Sketch.

Ruby on Rails tutorials, guides, and screencasts for web developers learning Ruby, Rails, Javascript, Turbolinks, Stimulus.js, Vue.js, and more. Icons by Icons8

© 2020 GoRails, LLC. All rights reserved.