79411824

Date: 2025-02-04 13:19:45
Score: 2
Natty:
Report link

If you are developing a Rails API only project, you probably aren't using Action Text.

If you are not using Action Text, you shouldn't have to run rails action_text:install and run migrations like Siyanda have said. The problem probably stems from the fact that you have the line require('rails/all') in your application.rb, which includes every Rails dependency including ActiveText. Instead you should only include the dependencies that you need and exclude ActiveText. This way you don't have to deal with all that unnecessary migration stuff.

This Stack Overflow post can be helpful: How to not require "rails/all"?

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Atalay özmen