Aaron Gutter


20 Experience
0 Lessons Completed
0 Questions Solved


I had the same question regarding how to get around using t.text "body" as I would also like to add trix to a preexisting project where I have used "content". Did you find an answer?

I suppose I could just do a rename_column to change content to body in the db ...

Regarding using Trix with Carrierwave, Chris stated:

"Yep, just swap out the Shrine code on the Photos model and you're set."

What do you mean by 'swap out'? Get rid of that code or configure it for Carrierwave? Thanks for the clarification.

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.