Commit Graph

71325 Commits

Author SHA1 Message Date
bogdanvlviv
4348b4afa1
Update the "Configuring Rails Applications" guide [ci skip]
Add section "Results of `load_defaults`" to the guide.
2019-01-04 01:17:15 +02:00
Kasper Timm Hansen
6f0cda8f8e
Merge pull request #33985 from eugeneius/attribute_methods_schema_cache
Only define attribute methods from schema cache
2019-01-03 15:03:06 +01:00
David Heinemeier Hansson
2584762cd9 Capistrano is no longer a dominant force in the deployment strategy for new apps 2019-01-03 21:27:44 +11:00
yuuji.yaginuma
2191c537ad Use latest Bundler
Don't need to specify the version because Bundler 2.0 released.
Ref: https://bundler.io/blog/2019/01/03/announcing-bundler-2.html
2019-01-03 15:40:54 +09:00
Ryuta Kamizono
f04e04b45c
Merge pull request #34846 from palkan/fix/ar-reaper-test
fix activerecord reaper_test
2019-01-03 08:51:06 +09:00
Vladimir Dementyev
6ea356e978
fix activerecord reaper_test 2019-01-02 17:55:48 -05:00
Yuji Yaginuma
4d651a24ed
Merge pull request #34841 from bogdanvlviv/remove-mention-about-test-unit-test_case
Remove mention about `Test::Unit::TestCase` [ci skip]
2019-01-03 07:12:10 +09:00
Ryuta Kamizono
260b273106
Merge pull request #34836 from kamipo/class_level_update_without_ids
Restore an ability that class level `update` without giving ids
2019-01-02 23:42:16 +09:00
Eileen M. Uchitelle
b3aa86ca7e
Merge pull request #34835 from gmcgibbon/fix_examples_in_log_subscriber
Fix examples in ActiveSupport::LogSubscriber docs
2019-01-02 09:39:10 -05:00
bogdanvlviv
6210c812e8
Remove mention about Test::Unit::TestCase [ci skip]
We've switched from `Test::Unit::TestCase` to `ActiveSupport::TestCase`
since Rails 2.3.
See https://edgeguides.rubyonrails.org/2_3_release_notes.html#other-railties-changes
2019-01-02 15:11:48 +02:00
Ryuta Kamizono
fb6743acc5 MariaDB: Remove version checking lower the 5.5.8
Since we already bumped the minimum version of MySQL to 5.5.8 at #33853.
2019-01-02 10:50:21 +09:00
Gannon McGibbon
1b402a510a Fix examples in ActiveSupport::LogSubscriber docs
[ci skip]
2019-01-01 20:27:54 -05:00
George Claghorn
ed51351536
Permit sending Active Storage purge and analysis jobs to separate queues 2019-01-01 19:40:59 -05:00
Ryuta Kamizono
0dec2b5aa3 Add assertions for ActiveRecord::Base.current_role
Since the `current_role` is public API.
2019-01-02 09:12:11 +09:00
Ryuta Kamizono
3d5db4920a Add test case for preventing_writes?
Since the `preventing_writes?` is public API.
2019-01-02 08:42:50 +09:00
yuuji.yaginuma
2484443aa8 Bring ActiveRecord::Core's API document back [ci skip]
If exist `:nodoc:` before method define, it affects all subsequent
method definitions.
2019-01-02 08:32:17 +09:00
George Claghorn
0d40c62213 Document Action Mailbox configuration options [ci skip] 2019-01-01 16:52:54 -05:00
George Claghorn
d9630c4815 s/Active Mailbox/Action Mailbox/ [ci skip] 2019-01-01 16:43:07 -05:00
Ryuta Kamizono
4c05434973 Restore an ability that class level update without giving ids
That ability was introduced at #11898 as `Relation#update` without
giving ids, so the ability on the class level is not documented and not
tested.

c83e30d which fixes #33470 has lost two undocumented abilities.

One has fixed at 5c65688, but I missed the ability on the class level.

Removing any feature should not be suddenly happened in a stable version
even if that is not documented.

I've restored the ability and added test case to avoid any regression in
the future.

Fixes #34743.
2019-01-02 06:23:52 +09:00
Ryuta Kamizono
600a66f60c Fix TypeError: no implicit conversion of Arel::Attributes::Attribute into String properly
This reverts 27c6c07 since `arel_attr.to_s` is not right way to avoid
the type error.

That to_s returns `"#<struct Arel::Attributes::Attribute ...>"`, there
is no reason to match the regex to the inspect form.

And also, the regex path is not covered by our test cases. I've tweaked
the regex for redundant part and added assertions for the regex path.
2019-01-02 04:15:32 +09:00
Ryuta Kamizono
a426615fb1
✂️
[ci skip]
2019-01-02 02:03:16 +09:00
George Claghorn
5bb8f3ae67 Fix links in ingress docs [ci skip] 2019-01-01 08:16:38 -05:00
George Claghorn
9adc2aa303 Exclude ActionMailbox::Base#perform_processing and #finished_processing? from API docs 2019-01-01 07:34:20 -05:00
George Claghorn
1c2747ee22 Document ActionMailbox::Base#bounce_with [ci skip] 2019-01-01 07:33:15 -05:00
George Claghorn
5afceae886 Add load hook for ActionMailbox::TestCase 2018-12-31 23:35:53 -05:00
George Claghorn
782460977e Update the load hooks reference table [ci skip] 2018-12-31 23:32:59 -05:00
George Claghorn
ec83d56214 Bump Nokogiri for sparklemotion/nokogiri@bf41ba0 2018-12-31 20:33:26 -05:00
George Claghorn
b005c24f35 Add load hook for ActionMailbox::Base 2018-12-31 20:01:43 -05:00
Gannon McGibbon
710e0ffc5a
Merge pull request #34707 from xlts/update-notifications-docs
Add examples describing error handling in ActiveSupport::Notification…
2018-12-31 15:11:53 -05:00
Gannon McGibbon
651f5819bb
Merge pull request #34624 from blaszczakphoto/update-docs-regarding-gzipping-assets
Rename header of the gzip paragraph
2018-12-31 14:28:09 -05:00
George Claghorn
3690eb1ba2
Merge pull request #34834 from gmcgibbon/mention_tiff_support_in_guides
Mention tiff support in ActiveStorage guides
2018-12-31 14:20:35 -05:00
Gannon McGibbon
b9d08fdc4d Mention tiff support in ActiveStorage guides
[ci skip]
2018-12-31 14:11:21 -05:00
George Claghorn
7bc307acf8
Merge pull request #34833 from bogdanvlviv/add-changelog-file-to-actionmailbox-specification
Add CHANGELOG.md to actionmailbox gem specification
2018-12-31 13:49:39 -05:00
Arun Agrawal
472a0d7e40
Merge pull request #34831 from arunagw/bump-year-to-2019
Bump license years for 2019
2018-12-31 23:08:43 +05:30
bogdanvlviv
cea3d6d1db
Add CHANGELOG.md to actionmailbox gem specification 2018-12-31 19:38:13 +02:00
George Claghorn
c45e3e74ed
Merge pull request #34740 from sponomarev/feature/assert_has_stream
Add streams assert methods to ActionCable channel test case
2018-12-31 11:12:01 -05:00
George Claghorn
04d091209a Add load hook for ActionMailbox::InboundEmail 2018-12-31 10:05:13 -05:00
Arun Agrawal
50e3680768 Bump license years for 2019 2018-12-31 10:24:38 +07:00
Luciano Sousa
c329d323fc Permit generating variants of TIFF images 2018-12-30 18:14:49 -05:00
George Claghorn
e7bcbf7b29
Add Rake task for testing mailboxes 2018-12-30 16:17:16 -05:00
George Claghorn
f28b28fe8d Tweak test name 2018-12-30 12:01:55 -05:00
Julik Tarkhanov
e5f4162b61 Make Active Storage blob keys lowercase
Accommodate case-insensitive filesystems and database collations.
2018-12-30 11:56:22 -05:00
Matthew Draper
a796b993ad Switch to released rb-inotify 0.10.0
It contains guard/rb-inotify#79, which is what we were waiting for.
2018-12-31 00:38:05 +10:30
George Claghorn
bf11c425a2
Merge pull request #34825 from bogdanvlviv/change-migration-version-of-actionmailbox
Use 6.0 version of `ActiveRecord::Migration` for Action Mailbox
2018-12-29 20:52:19 -05:00
George Claghorn
a1be11fcbf
Merge pull request #34812 from bogdanvlviv/action_mailbox-guides-docs
Add Action Mailbox to guides
2018-12-29 20:19:13 -05:00
bogdanvlviv
2cfbdff63e
Use 6.0 default configs in Active Storage test dummy app 2018-12-30 03:10:31 +02:00
bogdanvlviv
f9792fdd51
Use 6.0 version of ActiveRecord::Migration for Action Mailbox
Since Action Mailbox will be introduced in Rails 6.0,
it makes more sense to generate migration of that version.
Also I changed its test dummy app to use default 6.0 configs.
2018-12-30 03:10:16 +02:00
bogdanvlviv
67ecabe94e
Add Action Mailbox to Major Features of Rails 6.0 [ci skip] 2018-12-30 02:42:19 +02:00
bogdanvlviv
8c65fd6cca
Fix Action Mailer Basics [ci skip]
Now Action Mailbox is responsible for receiving emails.
2018-12-30 02:42:19 +02:00
bogdanvlviv
1fe086d3c1
Move some actionmailbox/README.md content to Action Mailbox Basics guide [ci skip]
I added WIP label to that guide since we definitely
want to complement it.
2018-12-30 02:42:14 +02:00