Fixes #15. check if helper is defined on controllers#24
Open
kazzix14 wants to merge 1 commit into
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Hi. I had the same problem and could not run
richer_text:install. I added a small fix to check ifhelpermethod is defined or not. This fixes #15.without this fix.
with this fix.
% rails richer_text:install rails railties:install:migrations FROM=active_storage,richer_text Copied migration 20250325074902_create_richer_text_rich_texts.richer_text.rb from richer_text Copied migration 20250325074903_create_richer_text_json_texts.richer_text.rb from richer_text Copied migration 20250325074904_create_richer_text_o_embeds.richer_text.rb from richer_text create app/views/richer_text/contents/_content.html.erb create app/assets/stylesheets/richer-text.css Adding dependencies to package.json run npm install highlight.js @afomera/richer-text from "." added 97 packages, and audited 314 packages in 12s 81 packages are looking for funding run `npm fund` for details 2 moderate severity vulnerabilities To address all issues, run: npm audit fix Run `npm audit` for details. Adding import to application.js The file /workdir/app/javascript/application.js does not appear to exist