| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| | |
Run exception tests for all ActiveJob adapters and fix issue with individual counters and Resque
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
ActiveJob
Some adapters like Resque that use Redis, convert the Ruby hash with a
default value, Hash.new(0), into a regular hash without a default value
after serializing, storing and deserializing. This raises an error when
we try to access a missing exception key. A simple solution is not to
rely on the hash's default value, and provide a default as alternative
when accessing it instead.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Previously, by extending ActiveJob::TestCase, the test adapter provided
for tests was being used always, in all executions where supposedly
different adapters were being used. As a consequence, some bugs visible
only for some adapters might have gone undetected. This commit changes
that, skipping queue adapters for which we can't test scheduling jobs
with a delay.
|
|\ \
| | |
| | | |
enable_fragment_cache_logging in dev by default
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
fragment caching was refactored in (I think 5.2) and by default doesn't log cache info
this is confusing in development where rails dev:cache now turns on caching, but doesn't show any different logging output
better to enable debugging by default for dev - and let people turn it off if preferred
|
|\ \ \
| | | |
| | | | |
Add new frameworks to `tasks/release.rb`
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
The Frameworks collection was missing actiontext and actionmailbox,
this would mean they are skipped when running any tasks that
iterated through this collection
changes include
Breaking up frameworks declaration into multiple lines and put
them in order. This should make adding to the list easier and
if you need to scan it, they will be in order you would expect
Add `package` task to both actiontext and actionmailbox
|
| | | |
| | | |
| | | |
| | | |
| | | | |
This slightly change the code in the Arel to allow +/-INFINITY as open
ended since the Active Record expects that behavior. See 5ecbeda.
|
|\ \ \ \
| | | | |
| | | | | |
Allow space for mysql enum and set keyword.
|
| | |_|/
| |/| | |
|
| |/ /
|/| | |
|
|\ \ \
| |/ /
|/| | |
Preserve key order of #fetch_multi
|
| | |
| | |
| | |
| | |
| | |
| | | |
fetch_multi(*names) now returns its results in the same order
as the `*names` requested, rather than returning cache hits
followed by cache misses.
|
|\ \ \
| | | |
| | | | |
add attachments to the new inbound mail
|
|/ / / |
|
|\ \ \
| | | |
| | | | |
Revert "Remove node_modules path from assets load paths since we use webpack by default"
|
|/ / /
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
by default"
This reverts commit 129f8ac6ffcafb2e6e13c9ef13dda4cc47f5af0d.
See https://github.com/rails/rails/commit/02d2958b6cd84d687d89112eb7e2306a6a89c082#commitcomment-31849196
|
| | | |
|
|\ \ \
| | | |
| | | | |
Respect Rails.env when running `rails yarn:install`
|
| | | |
| | | |
| | | |
| | | |
| | | | |
When no environment variables are set the expectation is that we are in
development.
|
|\ \ \ \
| | | | |
| | | | | |
Add Action Text to guides [ci skip]
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
- Move some actiontext/README.md content to Action Text Overview guide
- I added WIP label to that guide since we definitely want to complement it.
- Add Action Text to Major Features of Rails 6.0
Similar approach was used in #34812
|
|\ \ \ \ \
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
bogdanvlviv/add-skip-action-text-option-to-rails-new-cmd
Add `--skip-action-text` option to `rails new`
|
| |/ / / /
| | | | |
| | | | |
| | | | |
| | | | | |
Since PR#34816 was merged in c6ef670aee186a2880b7be59c4c6892b5c983e58,
we should add this option for flexibility, and consistency.
|
|\ \ \ \ \
| | | | | |
| | | | | | |
Add `action_text_content` hook to the guide [ci skip]
|
| |/ / / /
| | | | |
| | | | |
| | | | | |
See actiontext/lib/action_text/content.rb:132
|
|\ \ \ \ \
| | | | | |
| | | | | | |
Test actiontext on Rails 6.0
|
| |/ / / /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
- config.load_defaults 6.0 in the dummy app and
fix the test since by default rails 6.0 configured
does not generate "utf8" hidden input, see #32125
- Use `ActiveRecord::Migration[6.0]` in the dummy app
since actiontext will be since Rails 6.0
- Fix `CreateActiveStorageTables` migration in the dummy app.
Add `t.foreign_key :active_storage_blobs, column: :blob_id`
It was added in 2ae3a29508e.
- `rails/actiontext$ yarn install`
|
|\ \ \ \ \
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
bogdanvlviv/remove-needless-comment-actiontext.gemspec
Remove comment from `actiontext/actiontext.gemspec`
|
| |/ / / /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This comment was autogenerated, see
`railties/lib/rails/generators/rails/plugin/templates/%name%.gemspec.tt`
Since actiontext is well described in this file, I think we shouldn't
keep this comment. Note that this commit is more like cosmetic change,
so it is OK if we don't merge this.
|
|\ \ \ \ \
| | | | | |
| | | | | | |
Fix API docs of `ActionText::RichText` [ci skip]
|
| |/ / / /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This text should appear on the page
https://api.rubyonrails.org/v6.0/classes/ActionText/RichText.html
Related to 86517942e469193e8624d5078d718785552c1270
|
|\ \ \ \ \
| |/ / / /
|/| | | | |
Use ES6 and Webpacker in ActionCable guide.
|
| | | | |
| | | | |
| | | | |
| | | | | |
[ci skip]
|
| | | | | |
|
| | | | | |
|
|\ \ \ \ \
| | | | | |
| | | | | | |
Import Action Text
|
| |\ \ \ \ \
| | |/ / / /
| |/| | | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
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.
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | |\ \ \ \
| | | | | | |
| | | | | | | |
use plain test to determine present/blank/empty
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
always contain content
|
| | | | | | | |
|
| | |\ \ \ \ \
| | | | | | | |
| | | | | | | | |
Remove Ruby 2.4 from the CI matrix
|
| | |/ / / / /
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Rails 6 requires Ruby 2.5+ or newer.
See https://github.com/rails/rails/pull/34754.
|
| | |/ / / /
| | | | | |
| | | | | | |
Bump CI to latest minor versions of Ruby 2.4 and 2.5
|
| | |\ \ \ \
| | | | | | |
| | | | | | | |
Rename shadowed variable
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
This commit renames shadowed variable `attributes`.
|