aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source
Commit message (Collapse)AuthorAgeFilesLines
* 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
| |
| * remove Mass Assignment reference from Form Helpers guide [ci skip]Francesco Rodriguez2012-12-101-1/+1
| |
| * remove Mass Assignment reference from Security Guide [ci skip]Francesco Rodriguez2012-12-101-1/+0
| |
| * Document adding member route without the optionFlorent Guilleux2012-12-101-1/+3
| |
| * Add multipart: true to form for file upload.Steve Klabnik2012-12-101-1/+1
| | | | | | | | | | | | I was slightly overzealous when removing this before. Identified here: https://github.com/rails/rails/commit/ed78770b1a13788a5d3fcae484f34654de580bd5\#commitcomment-2281181
| * `config.action_mailer.async` is no longer usedAndy Lindeman2012-12-101-1/+0
| |
| * Globalize2 is only compatible with Rails 2 so link to Globalize3 insteadHenare Degan2012-12-091-1/+1
| |
| * Security Guide: removing Mass Assignment.Steve Klabnik2012-12-081-135/+0
| | | | | | | | | | | | Since mass assignment doesn't exist anymore, we don't need to discuss it. I checked with @fxn last night before making this change.
* | Merge pull request #8432 from ↵Rafael Mendonça França2012-12-131-0/+130
|\ \ | | | | | | | | | | | | | | | | | | rmcastil/add_migration_example_to_each_association_type Add migration examples to Association Basics [ci skip]
| * | Add migration example to Association Basics [ci skip]Ryan Castillo2012-12-131-0/+130
| | |
* | | General refreshment of the Active Record Basics guidePablo Torres2012-12-122-42/+186
| | |
* | | Merge pull request #8468 from schneems/schneems/rack-index-pageSantiago Pastorino2012-12-101-7/+2
|\ \ \ | | | | | | | | Use Rails to Render Default Index Page
| * | | Use Rails to Render Default Index Pageschneems2012-12-101-7/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is an alternative implementation to #7771 thanks to the advice of @spastorino Rails is a dynamic framework that serves a static index.html by default. One of my first questions ever on IRC was solved by simply deleting my public/index.html file. This file is a source of confusion when starting as it over-rides any set "root" in the routes yet it itself is not listed in the routes. By making the page dynamic by default we can eliminate this confusion. This PR moves the static index page to an internal controller/route/view similar to `rails/info`. When someone starts a rails server, if no root is defined, this route will take over and the "dynamic" index page from rails/welcome_controller will be rendered. These routes are only added in development. If a developer defines a root in their routes, it automatically takes precedence over this route and will be rendered, with no deleting of files required. In addition to removing this source of confusion for new devs, we can now use Rails view helpers to build and render this page. While not the primary intent, the added value of "dogfooding" should not be under-estimated. The prior PR #7771 had push-back since it introduced developer facing files. This PR solves all of the same problems, but does not have any new developer facing files (it actually removes one). cc/ @wsouto, @dickeyxxx, @tyre, @ryanb, @josevalim, @maxim, @subdigital, @steveklabnik ATP Railties and Actionpack.
* | | | Allow users to choose the timestamp format in the cache keyRafael Mendonça França2012-12-101-0/+2
|/ / / | | | | | | | | | | | | | | | | | | This can be done using the class attribute cache_timestamp_format Conflicts: railties/guides/source/configuring.textile
* | | revise block on kindle guides [ci skip]Vijay Dev2012-12-091-3/+1
| | |
* | | Merge pull request #8469 from kytrinyx/explicit-mysql-instructionsRafael Mendonça França2012-12-091-0/+3
|\ \ \ | | | | | | | | | | | | | | | | Include command to create mysql user [ci skip]
| * | | Include command to create mysql userKatrina Owen2012-12-091-0/+3
| | | | | | | | | | | | | | | | | | | | The guide mentions that the 'rails' user is needed, but doesn't explicitly include the command to do so.
* | | | Merge pull request #8348 from danchoi/masterVijay Dev2012-12-081-1/+1
|\ \ \ \ | | | | | | | | | | Kindle ebook generation with working section navigation
| * | | | Add periodical-style TOC and navigation to Kindle version of guidesDaniel Choi2012-12-011-1/+1
| | | | |
* | | | | update release notes [ci skip]Vijay Dev2012-12-081-1/+41
| |_|_|/ |/| | |
* | | | Merge branch 'master' of github.com:lifo/docrailsVijay Dev2012-12-0829-169/+155
|\ \ \ \
| * | | | copy edits [ci skip]Vijay Dev2012-12-082-4/+3
| | | | |
| * | | | Revert "Introduce Bundler and Gemfiles in a NOTE"Vijay Dev2012-12-081-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 83cb6fbd13f3c5ea3106b9a57964b1a6fb243682. Reason: very trivial [ci skip]
| * | | | Fill out API Documentation Guidelines 'you will learn' list.Steve Klabnik2012-12-071-0/+4
| | | | |
| * | | | Fill out Active Support Core Extensions 'you will learn' list.Steve Klabnik2012-12-071-0/+5
| | | | |
| * | | | Remove reference to background queue in mailer guide.Steve Klabnik2012-12-071-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | Mailers are always async now, and we already discuss queueing lower down in the guide.
| * | | | Remove references to Rails versions.Steve Klabnik2012-12-0713-59/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There's no reason for guides to reference old behaviors. They should be current as of the versions of Rails that they ship with, and including older information just clutters thing. I discussed this change with @fxn and he agrees.
| * | | | Punctuation, capitalization, grammar fixes in rails guidesKatie Oldaker2012-12-077-15/+19
| | | | |
| * | | | Fix small grammatical errorMax Katz2012-12-071-1/+1
| | | | |
| * | | | Fixed grammar in a lot of guide prologues.Katie Oldaker2012-12-0722-88/+88
| | | | |
| * | | | Added overview items to Guides Guidelines prologueIan C. Anderson2012-12-071-0/+3
| | | | |
| * | | | changing tense, since Rails 3.2 has been releasedDrew Dara-Abrams2012-12-061-1/+1
| | | | |