aboutsummaryrefslogtreecommitdiffstats
path: root/guides
Commit message (Collapse)AuthorAgeFilesLines
* Small fixes [ci skip]Alexey Markov2015-08-171-6/+5
|
* Merge pull request #21270 from jonatack/update-debugging-guide-byebug-infoKasper Timm Hansen2015-08-171-17/+6
|\ | | | | Update the Debugging Rails Guide [skip ci]
| * Update the Debugging Rails GuideJon Atack2015-08-171-17/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | [skip ci]. - Update to the current output when running `byebug help`. - Remove the alias `exit` because it does not work and seems to have been removed from Byebug, as confirmed by the source code here: https://github.com/deivid-rodriguez/byebug/blob/master/lib/byebug/comman ds/quit.rb - Added the useful `q!` instead to avoid the "Really quit? (y/n)" prompt.
* | reorganize testing guide. [Zachary Scott & Yves Senn]Zachary Scott2015-08-171-329/+305
|/ | | | | | | | | | | | [ci skip] Better reading flow for the information presented in this guide. The first part is written in a similar fashion as the "Getting Started Guide" and can be read from start to finish. The second section introduces the different testing components that Rails provides and explains how and when to use them. The guide is still work in progress.
* Merge pull request #21135 from DropsOfSerenity/masterSean Griffin2015-08-171-0/+3
|\ | | | | make disable_with default in submit_tag
| * Make disable_with default in submit_tagJustin Schiff2015-08-111-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Prevents double submission by making disable_with the default. Default disable_with option will only be applied if user has not specified her/his own disable_with option, whether that is in the `data-disable-with` string form or the `:data => { :disable_with => "Saving..." }` hash form. disable_with will default to the value attribute. A configuration option was added to opt out of this functionality if the user so desires. `config.action_view.automatically_disable_submit_tag = false`
* | Tiny documentation fixes [ci skip]Robin Dupret2015-08-161-2/+2
| | | | | | | | | | | | * Add missing `def` and remove useless `do` keywords. * Move `:nodoc:` in front of the methods' definition so that methods under these ones are correctly visible on the API.
* | Small fixes [ci skip]Alexey Markov2015-08-151-10/+10
| |
* | [ci skip] SQL is written using statements, not sentencesBrooks Reese2015-08-131-1/+1
| |
* | Merge pull request #21120 from dhiachou/patch-1Robin Dupret2015-08-131-5/+12
|\ \ | | | | | | How to pass arguments to ActiveJob Jobs [ci skip]
| * | [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)
* | | [ci skip] Clarified asset pipeline guideAndreas Lietz2015-08-131-4/+4
| | |
* | | Merge pull request #21211 from brooksreese/resrc_io_website_closedRafael Mendonça França2015-08-121-1/+0
|\ \ \ | | | | | | | | [ci skip] Removed link to reSRC.io - site closed
| * | | [ci skip] Removed link to reSRC.io - site closedBrooks Reese2015-08-121-1/+0
| | | |
* | | | Merge pull request #21204 from brooksreese/ruby_v_before_tipMatthew Draper2015-08-121-5/+5
|\ \ \ \ | |_|_|/ |/| | | [ci skip] Swap ruby -v and the installation tip
| * | | [ci skip] Swap ruby -v and the installation tipBrooks Reese2015-08-111-5/+5
| |/ /
* | | Merge pull request #21195 from brooksreese/fix_broken_link_markupYves Senn2015-08-111-1/+1
|\ \ \ | | | | | | | | | | | | [ci skip] Fix broken link markup
| * | | [ci skip] Fix broken link markupBrooks Reese2015-08-111-1/+1
| |/ /
* | | Tiny documentation fixes [ci skip]Robin Dupret2015-08-112-6/+11
| | |
* | | Merge pull request #21138 from dhiachou/patch-2Rafael Mendonça França2015-08-111-2/+4
|\ \ \ | | | | | | | | Outdated information about session storage updated [ci skip]
| * | | [ci skip] Typo fixedDhia Eddine Chouchane2015-08-061-1/+1
| | | |
| * | | Outdated information about session storage updated [ci skip] Dhia Eddine Chouchane2015-08-061-2/+4
| | |/ | |/| | | | | | | The guide contains information about Rails 2 storing mechanism, but not Rails 4. Enhanced the accuracy and coherence of information (There was a part saying "Older versions of Rails use CookieStore, which uses `secret_token` instead of `secret_key_base` that is used by EncryptedCookieStore." while there was no mention of EncryptedCookieStore before)
* | | [ci skip] Add link to testing guideBrooks Reese2015-08-101-1/+7
| |/ |/|
* | [ci skip] Modify introduction text and bullets to be consistent with other ↵Brooks Reese2015-08-101-5/+5
| | | | | | | | guides
* | docs, use hash instead of a string for `order`. [ci skip]Yves Senn2015-08-101-1/+1
| | | | | | | | Closes #21121
* | Merge pull request #21177 from brooksreese/single_crud_operationClaudio B.2015-08-091-1/+3
|\ \ | | | | | | [ci skip] Note that each action maps to a specific CRUD operation
| * | [ci skip] Note that each action maps to a specific CRUD operationBrooks Reese2015-08-091-1/+3
| | |
* | | Merge pull request #21166 from brooksreese/migration_seed_explanationClaudio B.2015-08-081-4/+9
|\ \ \ | | | | | | | | [ci skip] Give in-depth explanation of migrations vs. seeds.rb
| * | | [ci skip] Give in-depth explanation of migrations vs. seeds.rbBrooks Reese2015-08-081-4/+9
| |/ /
* | | [ci skip] Adding a note to Action Mailer Basics documentation that Google ↵melissawahnish2015-08-081-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | increased its security measures so using the example for Gmail will return a “Password Incorrect” error, and you will receive an email from Google that they blocked a sign-in attempt. You can change your Gmail settings or use another ESP. I discovered this when I was testing a simple mailer example app and was just going to use my personal Gmail account for the test. I think it would be best to note this change since now Gmail may not be the best option for a quick test. I hope this saves time for other Rails developers. The Gmail example does show a good example of how to configure the smpt settings.
* | | use uuid method to define the UUID type [ci skip]yuuji.yaginuma2015-08-081-1/+1
| | |
* | | [ci skip] Add an explanation for `status` optionyui-knk2015-08-081-1/+5
| | |
* | | stop using @_env in the controller instanceAaron Patterson2015-08-071-2/+2
| | | | | | | | | | | | | | | | | | | | | Actions are processed through `dispatch`, so they should have the request set on them before any user land code can be executed. Lets stop setting _env on the controller, and give access to it through the `env` method.
* | | Remove XML Serialization from core.Zachary Scott2015-08-071-59/+2
|/ / | | | | | | | | | | | | This includes the following classes: - ActiveModel::Serializers::Xml - ActiveRecord::Serialization::XmlSerializer
* | Fix doc typoTom Copeland2015-08-071-1/+1
| |
* | [ci skip] Remove `identity.active_record`yui-knk2015-08-071-8/+0
| | | | | | | | | | This is removed by this commit cf: https://github.com/rails/rails/pull/5261
* | Added bin/update script to update application automaticallyMehmet Emin İNAÇ2015-08-071-1/+1
| | | | | | | | | | | | | | | | | | | | use system! fix changelog use bundle check first and use rake use system instead system! for bundle check
* | Small fixAlexey Markov2015-08-061-1/+1
| |
* | Corrected instructions for using SassAndreas Lietz2015-08-061-4/+4
|/
* 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.
* | Merge pull request #21076 from r11runner/guide-join-tablesClaudio B.2015-08-032-10/+21
|\ \ | | | | | | migration and association guides: added some remarks about join tables
| * | [ci skip] migration and association guides: added some remarks about join tablesr11runner2015-08-042-10/+21
| | |
* | | Correctly close a fenced code block [ci skip]Robin Dupret2015-08-031-0/+1
| | |
* | | Add note to routing guide about overriding defaults [ci skip]Andrew White2015-08-031-0/+2
| | | | | | | | | | | | Fixes #21085.
* | | Merge pull request #21052 from robin850/caching-guideKasper Timm Hansen2015-08-032-51/+160
|\ \ \ | | | | | | | | Publish the "Caching with Rails" guide
| * | | Improve the "Caching with Rails" guide's introduction [ci skip]claudiob2015-08-031-2/+14
| | | |
| * | | Add a section about "Collection caching" [ci skip]Robin Dupret2015-08-031-0/+23
| | | |
| * | | Publish the "Caching with Rails" guide [ci skip]Celestino Gomes2015-07-281-0/+4
| | | |
| * | | Add a "Managing dependencies" part to the caching guide [ci skip]Robin Dupret2015-07-281-0/+87
| | | |