aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source/active_job_basics.md
Commit message (Collapse)AuthorAgeFilesLines
* Update links and code examples in the guides to use HTTPS where the host ↵Nathaniel Suchy2019-03-061-2/+2
| | | | supports it.
* [ci skip] Add a Delayed Job project link.Tonči Damjanić2018-11-291-0/+1
| | | Delayed Job is mentioned multiple times in the document, but it is not linked from anywhere.
* [ci skip] Update active_job_basics.mdShota Iguchi2018-11-191-1/+1
| | | | ApplicationJob should be inherits ActiveJob::Base
* Merge pull request #33229 from ↵Matthew Draper2018-07-251-2/+2
|\ | | | | | | | | albertoalmagro/albertoalmagro/prefer-rails-command-over-bin-rails Prefer rails command over bin/rails
| * Recommend use of rails over bin/railsAlberto Almagro2018-07-061-2/+2
| | | | | | | | | | | | | | | | | | As discussed in #33203 rails command already looks for, and runs, bin/rails if it is present. We were mixing recommendations within guides and USAGE guidelines, in some files we recommended using rails, in others bin/rails and in some cases we even had both options mixed together.
* | Rails guides are now served over httpsPaul McMahon2018-07-241-1/+1
|/ | | | | http links will be redirected to the https version, but still better to just directly link to the https version.
* Added a lot of Oxford commasAnthony Crumley2018-05-101-1/+1
| | | | | | | [ci skip] A regular expression was used to find a lot of missing Oxford commas and add them. The regular expression was as follows. ", ([a-zA-Z0-9.\`:'\"]+ ){1,6}(or|and) "
* Fix typo in active_job_basics.mdJon Evans2018-03-151-1/+1
| | | `it's` -> `its`
* Fixes a typo and updates active_job_basics.mdDharam Gollapudi2018-03-081-1/+1
| | | Fixes a typo
* Merge pull request #32026 from bogdanvlviv/improve-30941Rafael França2018-02-201-14/+13
|\ | | | | Improve ActiveJob custom argument serializers #30941
| * Fix docs of ActiveJob custom argument serializersbogdanvlviv2018-02-171-14/+13
| | | | | | | | | | | | Add `:nodoc:` to `ActiveJob::Serializers` Add `:doc:` to `ActiveJob::Serializers::ObjectSerializer#klass` Express `ActiveJob::Serializers::ObjectSerializer#klass` as private method
* | Fix active_job_basics.md callbacks example [ci skip]fatkodima2018-02-181-1/+1
| |
* | Rails 6 requires Ruby 2.4.1+Jeremy Daer2018-02-171-1/+1
|/ | | | | | Skipping over 2.4.0 to sidestep the `"symbol_from_string".to_sym.dup` bug. References #32028
* Missing backquote, extra end keyword [ci skip]Yauheni Dakuka2018-02-151-18/+17
|
* Simplify the implementation of custom argument serializersRafael Mendonça França2018-02-141-6/+0
| | | | | | | | | | | | | We can speed up things for the supported types by keeping the code in the way it was. We can also avoid to loop trough all serializers in the deserialization by trying to access the class already in the Hash. We could also speed up the custom serialization if we define the class that is going to be serialized when registering the serializers, but that will remove the possibility of defining a serialzer for a superclass and have the subclass serialized using it.
* Improve documentation on custom serializersRafael Mendonça França2018-02-141-22/+21
|
* Remove non-default serializersEvgenii Pecherkin2018-02-141-4/+0
|
* Introduce serializers to ActiveJobEvgenii Pecherkin2018-02-141-2/+63
|
* Use ApplicationJob instead of ActiveJob::Base in guide [ci skip]Yoshiyuki Hirano2017-09-181-1/+1
|
* add section to guides for discarding and retrying active jobs [ci skip]Gerard Cahill2017-09-181-0/+19
|
* Update Active Job Basics [ci skip]Yoshiyuki Hirano2017-09-141-0/+1
| | | | * Add Sneakers link to documentation list.
* Fix indentation [ci skip]Yauheni Dakuka2017-08-241-1/+1
|
* Make one line example fit on one line [ci skip]Bart de Water2017-08-091-3/+1
|
* Improve callback examples in Active Job guide [ci skip]Bart de Water2017-08-031-22/+32
| | | | The advice for symbol/block form is taken from the Active Record guides.
* remove the phrase as wellSteven Chanin2017-05-091-1/+1
| | | | [ci skip]
* Capitalize RakeSteven Chanin2017-05-091-2/+2
|
* [ci skip] explain async queue and rake tasksSteven Chanin2017-05-091-0/+6
| | | | [ci skip]
* Remove stray back-end from ActiveJob Basics guideSimon Dawson2017-03-191-1/+1
| | | The hyphenated form "back-end" only appears once in this guide; elsewhere, the un-hyphenated form "backend" is used consistently.
* [ci skip] Updates ActiveJob guide on default runner.Phil Nash2016-08-181-3/+4
| | | | The immediate runner is no longer default, the async adapter is.
* Changed ActiveJob::Base to ApplicationJob in the Active Job guide [ci skip] Nikhil Thombare2016-06-131-11/+11
| | | @prathamesh-sonpatki
* - Added documentation for ActiveJob queue adapter for a specific job.Mohit Natoo2016-04-201-0/+12
| | | | | | | | [ci skip] Added note on child class maintaining parent's queue adapter. [ci skip] Added note on child class maintaining parent's queue adapter. [ci skip] removed documentation for child class inheriting the queue adapter.
* Change the default adapter from inline to asyncDavid Heinemeier Hansson2016-02-051-4/+6
|
* Add job suffix to sample's job file nameManu2016-01-051-2/+2
|
* Fixed wording.Mike Boone2015-11-081-1/+1
|
* [ci skip] Add backend queue starting documentationschneems2015-10-161-3/+12
| | | | If you can't start your queue, you won't process much. This change adds external links to the Queue backends that have Active Job specific docs.
* Fix "Esperanto" nameMiguel Parramon2015-10-071-1/+1
| | | | | Correct spelling is "Esperanto": https://en.wikipedia.org/wiki/Esperanto
* [ci skip] How to pass arguments to ActiveJob JobsDhia Eddine Chouchane2015-08-131-5/+12
| | | | | | | | | | | | | | | | | | | | A section explaining how to pass arguments to Jobs has been added. [ci skip] How to pass arguments to ActiveJob Jobs Removed the "how to pass arguments" from what you will know section [ci skip] improving Enqueue Job section Using GuestsCleanupJob rather than MyJob for coherence. [ci skip] Passing args section merged with enqueuing jobs Passing args is now explained through examples withing Enqueuing the Jobs section [ci skip] Unnecessary example removed [ci skip] Typo fixed (missing as)
* Merge pull request #20800 from xijo/make_active_job_locale_awareKasper Timm Hansen2015-08-041-0/+13
|\ | | | | Make ActiveJob locale aware
| * Fixes #20799Johannes Opper2015-08-041-0/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When `#perform_later` is called the locale isn't stored on the queue, which results in a locale reset when the job is performed. An example of the problem: I18n.locale = 'de' HelloJob.perform_now # german message, correct but I18n.locale = 'de' HelloJob.perform_later # english message, incorrect This PR attaches the current I18n.locale to every job during the serialization process. It is then restored during deserialization and used to perform the job with the correct locale. It falls back to the default locale if no serialized locale is found in order to provide backward compatibility with previously stored jobs. It is not necessary to clear the queue for the update.
* | Add Deserialization section on guides at ActiveJob ExceptionMauro George2015-07-081-0/+7
|/ | | | [ci skip]
* Wrong documentation about Rails autoload on active_jobs_basics doc [ci skip]Mehmet Emin İNAÇ2015-06-141-19/+0
| | | | By default Rails automaticaly loads all files under the app directory
* Extended 'Active Job Basics' edge guide with more detailed information and ↵Andreas Metzger2015-06-141-12/+41
| | | | | | an additional step [ci skip] Normalized use of 'queueing'/'queuing' in the document.
* Spell out "asynchronously" instead of async in guides [ci skip]Prathamesh Sonpatki2015-04-191-1/+1
|
* add active job testing section [ci skip]David Fernandez2015-04-161-0/+7
|
* Use sentence case for consistency in commentsMarcel Morgan2015-02-201-5/+5
| | | | [ci skip]
* Merge branch 'master' of github.com:rails/docrailsVijay Dev2015-01-151-8/+10
|\
| * Fixed spacing issues on code comments in ActiveJob Basics guide.Vipul A M2015-01-141-7/+9
| | | | | | | | | | Before: http://take.ms/z39h2 After: http://take.ms/Mo0G3
| * GlobalID::Identification has been mixed into AR not AMCristian Bica2015-01-081-1/+1
| |
* | - Changed `IN` to `ON` in markdown renderer conditionVipul A M2015-01-141-1/+1
|/ | | | - Changed `IN` to `ON` in all note sentences in guides.
* Merge branch 'master' of github.com:rails/docrailsVijay Dev2015-01-031-1/+0
|\