New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Import Action Text #34873
Import Action Text #34873
Conversation
Just like we use has_many_attachments instead of active_storage_attachements.
This is more like Action View than Active Model.
I don't think we need that since it's set automatically through ActionText::Engine.
…ch-text-area Add test coverage for form with rich_text_area
This constants meant to be private but `private_constant` was missing, this commit makes them fully private by adding `private_constant`.
Privatize constants
I'm not sure if this is going to be used in the future or not, but for the time being we shouldn't maintain parameters that we aren't using. We can always add them later when needed.
This commit renames shadowed variable `attributes`.
Remove unused **options
Rename shadowed variable
Bump CI to latest minor versions of Ruby 2.4 and 2.5
Rails 6 requires Ruby 2.5+ or newer. See #34754.
Remove Ruby 2.4 from the CI matrix
…ill always contain content
use plain test to determine present/blank/empty
When using the `rich_text_area_tag` form helper from within a Rails engine, the direct_upload_url and blob_url_template options would default to non-existent routes. By prefixing these routes with `main_app` we ensure the application root is used rather than the engine.
require "rubygems" | ||
require "bundler/setup" | ||
|
||
load Gem.bin_path("webpacker", "webpack") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@javan Do we need this and actiontext/bin/webpack-dev-server
files because I see they aren't working now on the rails/rails' master branch?
@@ -9,6 +9,7 @@ AllCops: | |||
- 'actionpack/lib/action_dispatch/journey/parser.rb' | |||
- 'railties/test/fixtures/tmp/**/*' | |||
- 'actionmailbox/test/dummy/**/*' | |||
- 'actiontext/test/dummy/**/*' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think this put a dummy application inside the framework tests
scale in the rails repository. It does make sense for an external plugin but for things that are inside the rails repository we should be following the same railties tests pattern that we have for all the other frameworks. The dummy application get outdated and we will end up testing those engines against a version behind of the one that is being currently being developed.
Action Mailbox and Action Text belong to rails/rails since rails#34786 and rails#34873.
No description provided.