aboutsummaryrefslogtreecommitdiffstats
path: root/guides
Commit message (Collapse)AuthorAgeFilesLines
* delegate to :class rather than 'self.class'Gosha Arinich2013-01-061-1/+1
|
* prefer do-end for multiline blockGosha Arinich2013-01-062-4/+4
|
* fix guides' warning bottom paddingGosha Arinich2013-01-061-1/+1
|
* Update some code examples on the "Working with JavaScript in Rails" guide.Lucas Mazza2013-01-051-31/+33
|
* deprecate `assert_blank` and `assert_present`.Yves Senn2013-01-051-0/+1
| | | | | They don't add any benefits over `assert object.blank?` and `assert object.present?`
* ERB::Util::h is no longer generated in scaffoldRyunosuke SATO2013-01-052-6/+6
|
* Merge pull request #8705 from amparo-luna/change_update_attributes_to_updateGuillermo Iguaran2013-01-037-19/+19
|\ | | | | Rename update_attributes method to update
| * Change guides to use update instead of update_attributesAmparo Luna + Guillermo Iguaran2013-01-037-19/+19
| |
* | Restore original remote_ip algorithm.Andre Arko2013-01-021-1/+1
|/ | | | | | | | | | | Proxy servers add X-Forwarded-For headers, resulting in a list of IPs. We remove trusted IP values, and then take the last given value, assuming that it is the most likely to be the correct, unfaked value. See [1] for a very thorough discussion of why that is the best option we have at the moment. [1]: http://blog.gingerlime.com/2012/rails-ip-spoofing-vulnerabilities-and-protection/ Fixes #7979
* Add entry in Releases Notes about changes in exceptions pageGuillermo Iguaran2013-01-011-0/+2
|
* update rake tasks output [ci skip]Vijay Dev2013-01-011-1/+1
|
* small fix in js guide [ci skip]Vijay Dev2013-01-011-1/+1
|
* Merge branch 'master' of github.com:lifo/docrailsVijay Dev2013-01-015-8/+29
|\
| * Merge pull request #123 from m-o/masterVijay Dev2013-01-011-1/+1
| |\ | | | | | | Fixed typo one line in layouts and rendering: stylesheet_link_tag for file in subdirectory.
| | * Update guides/source/layouts_and_rendering.mdMarek Ovečka2012-12-301-1/+1
| | | | | | | | | | | | | | | Removed first slash. The subdirectory will nto be found with slash befor it.
| * | Improve EnglishRuafozy2013-01-011-5/+7
| | | | | | | | | | | | | | | | | | * Fix one error * Improve wording * Improve punctuation
| * | Update guides/source/rails_on_rack.mdJonathan Baudanza2012-12-301-1/+1
| | | | | | | | | | | | | | | Rack::Lock actually sets rack.multithread to `false`, not `true`. Presumably because once inside the mutex, the app can function as if it were single threaded.
| * | fixed inconsistent `require 'test_helper'` in testing guideJoey Schoblaska2012-12-301-1/+1
| |/
| * Update documentation for yml usageNishant Modak2012-12-301-1/+1
| | | | | | Update documentation for yml usage against https://github.com/rails/rails/issues/8612
| * Document JoinTable migration generatorSammy Larbi2012-12-291-0/+19
| |
* | Add note on the contributing guide to not use the refute methodsRafael Mendonça França2012-12-311-2/+3
| |
* | Merge pull request #8647 from nishantmodak/patch-2Vijay Dev2012-12-291-1/+1
|\ \ | | | | | | Update documentation for yml usage
| * | Update documentation for yml usageNishant Modak2012-12-301-1/+1
| |/
* / Fix up/down column change example code formattingSammy Larbi2012-12-291-1/+1
|/
* Merge branch 'master' of github.com:lifo/docrailsVijay Dev2012-12-292-5/+1
|\
| * Revert "reminder to run bundle after setting up rails-dev-box"Vijay Dev2012-12-291-7/+0
| | | | | | | | | | | | | | | | | | This reverts commit 41381c19d1f3920ee9540aff0d35209cb43fb057. Reason: This doesn't quite fit the flow where it's added. Let's add this someplace else if it's explicitly required. [ci skip]
| * Fixed couple of typosFabrizio Regini2012-12-271-1/+1
| |
| * removed TIP: :allow_nil/:allow_blank is ignored by the presence validatorColin Kelley2012-12-261-4/+0
| | | | | | | | These tips were documenting an inconsistency issue https://github.com/rails/rails/issues/8621. That issue is resolved by https://github.com/rails/rails/issues/8622.
| * reminder to run bundle after setting up rails-dev-boxAce Suares2012-12-241-0/+7
| |
* | Note about migration timestamps.Steve Klabnik2012-12-261-1/+3
| | | | | | | | | | | | | | | | We should mention that the ordering matters with regards to timestamps, and not imply that it's just for uniqueness purposes. Closes #8610.
* | replace AS::BufferedLogger doc mentions with AS::LoggerYves Senn2012-12-253-5/+5
| |
* | Move background jobs to the 'jobs' branch until fully baked. Not shipping ↵Jeremy Kemper2012-12-213-37/+0
| | | | | | | | with Rails 4.0.
* | Merge pull request #8267 from marcandre/reversible_drop_table_etcAaron Patterson2012-12-212-36/+202
|\ \ | | | | | | Reversible commands
| * | Update Migration and 4.0 Release Guides, Changelogs [#8267]Marc-Andre Lafortune2012-12-212-36/+202
| |/
* | Updated security guide to reference secret_key_base instead of secret_token, ↵Gary S. Weaver2012-12-211-3/+3
| | | | | | | | with a little information about the change from CookieStore to EncryptedCookieStore.
* | Updated security guide with information about secret_token.rb and to suggest ↵Gary S. Weaver2012-12-211-7/+11
|/ | | | securing sensitive files like database.yml and secret_token.rb
* Merge branch 'master' of github.com:lifo/docrailsVijay Dev2012-12-211-20/+38
|\
| * copy edits in assets guide [ci skip]Vijay Dev2012-12-211-23/+26
| |
| * Explain controller specific assets more thoroughlyDamian Galarza2012-12-171-17/+32
| | | | | | | | | | | | | | | | | | The current section on controller specific assets does not really explain how the default application.css and application.js files generated by rails will work with controller specific assets and is a bit ambiguous. We should remind users that they will be included into their application by default but that they have the option to include them only where needed if they want and how this works with precompiling assets. [ci_skip]
* | Restored 'Working with Validation Errors'Steve Klabnik2012-12-161-0/+140
| | | | | | | | | | Somehow this got lost in my PRs before. I'm going to re-check all the guides to make sure this didn't happen again elsewhere.
* | make an editing pass through the upgrading guide [ci skip]Vijay Dev2012-12-151-30/+16
|/
* Merge branch 'master' of github.com:lifo/docrailsVijay Dev2012-12-1510-175/+16
|\ | | | | | | | | | | Conflicts: actionpack/lib/action_view/helpers/form_helper.rb railties/lib/rails/info_controller.rb
| * copy editing [ci skip]Vijay Dev2012-12-152-2/+2
| |
| * Elaborate using `inverse_of` with presence validationJay Hayes2012-12-131-1/+2
| |
| * Fix associations presence lost in steve's reformatJay Hayes2012-12-131-2/+2
| | | | | | | | | | | | | | | | https://github.com/lifo/docrails/commit/55a2820cc6d33e96b8d1b64b38b033913058dce4 messes up https://github.com/lifo/docrails/commit/cfd324b4b68469ba3188e4b7ba8586e59b239693 Hopefully there is other stuff lost in translation...
| * Add a small note about the compressing the file, and how that helps the ↵Anuj Dutta2012-12-131-1/+2
| | | | | | | | application.
| * Add #destroy! as a method that triggers callbacksPablo Torres2012-12-121-0/+1
| |
| * Remove deprecated Time methods from the guides [ci skip]Pablo Torres2012-12-111-22/+2
| | | | | | | | | | | | | | Don't use: * Time.time_with_datetime_fallback * Time.utc_time * Time.local_time
| * Update guides/source/routing.mdGeorge Claghorn2012-12-111-1/+1
| | | | | | It's no longer necessary to delete public/index.html for the root route to take effect.
| * remove attr_protected reference from AS Core Extensions guide [ci skip]Francesco Rodriguez2012-12-101-7/+0
| |