aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source/active_job_basics.md
Commit message (Collapse)AuthorAgeFilesLines
* 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
|\
| * [ci skip] :scissors: a blank line from code (Active Job Guide).Juanito Fatas2015-01-021-1/+0
| |
* | Merge pull request #18274 from rajcybage/spell_fixRobin Dupret2014-12-311-2/+2
|\ \ | | | | | | Fix spell life cycle on activejob docs [ci skip]
| * | Fix spell life cycle on activejob docs [ ci skip]Rajarshi Das2014-12-311-2/+2
| | |
* | | warn about reading guides in GitHubXavier Noria2014-12-231-0/+2
| |/ |/| | | | | References #18148.
* | Fix default queue name prefix delimiterEric Skogen2014-12-121-1/+1
| | | | | | | | | | Now displays as underscore, and not an empty string, when converted from markdown to HTML. Escaped the underscore per http://daringfireball.net/projects/markdown/syntax#em Fixes rails/rails#18009
* | [CI SKIP] Improvements to Active Job guide.Guo Xiang Tan2014-11-201-10/+12
| |
* | [CI SKIP] Missing space.Guo Xiang Tan2014-11-161-1/+1
| |