aboutsummaryrefslogtreecommitdiffstats
path: root/guides
Commit message (Collapse)AuthorAgeFilesLines
...
| * 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-084-5/+128
|\ \ \ \ | | | | | | | | | | Kindle ebook generation with working section navigation
| * | | | Add periodical-style TOC and navigation to Kindle version of guidesDaniel Choi2012-12-014-5/+128
| | | | |
* | | | | 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
| | | | |
| * | | | Introduce Bundler and Gemfiles in a NOTEPablo Torres2012-12-051-0/+2
| | | | |
| * | | | Define a generator before referring to itPablo Torres2012-12-041-1/+1
| | | | |
| * | | | Correct bad EnglishPablo Torres2012-12-041-2/+2
| | | | |
| * | | | add a notice about loading assets in production modeTony Jian2012-12-051-1/+18
| | | | |
* | | | | update guides to use _action callbacks [ci skip]Francesco Rodriguez2012-12-076-21/+21
| | | | |
* | | | | let @version be always externally set in guides generation [fixes #8221]Xavier Noria2012-12-072-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Shelling out was there for authors convenience, but we are rather going to have the tag or SHA1 always in RAILS_VERSION and if the environment variable is blank, then just use "local" as a reminder that you are just working locally. The docs server has been updated to set the long SHA1 in RAILS_VERSION when generating edge guides.
* | | | | Merge pull request #8332 from amatsuda/ar_where_chainCarlos Antonio da Silva2012-12-071-0/+14
|\ \ \ \ \ | |_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Relation.where with no args can be chained with not, like, and not_like Conflicts: activerecord/CHANGELOG.md activerecord/lib/active_record/relation/query_methods.rb
| * | | | Relation.where with no args can be chained with not, like, and not_likeAkira Matsuda2012-11-301-0/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | examples: Model.where.not field: nil #=> "SELECT * FROM models WHERE field IS NOT NULL Model.where.like name: 'Jeremy%' #=> "SELECT * FROM models WHERE name LIKE 'Jeremy%' this feature was originally suggested by Jeremy Kemper https://github.com/rails/rails/pull/5950#issuecomment-5591330 Closes #5950
* | | | | Adding filter capability to ActionController logsFabrizio Regini2012-12-051-3/+24
| | | | |
* | | | | Fix Active Record validation error messages markup in guidesCarlos Antonio da Silva2012-12-044-61/+61
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The other way it was not marking the text as italic, it was showing the underlines as normal text. Also fixes some code examples indentation and # => marks in Active Model and Active Record guides. [ci skip]
* | | | | Improve the Active Model guide [ci skip]Carlos Antonio da Silva2012-12-041-33/+27
| | | | |
* | | | | Fixing a couple of spelling mistakesErshad K2012-12-041-1/+1
| |/ / / |/| | |
* | | | Merge branch 'master' of github.com:lifo/docrailsVijay Dev2012-12-045-69/+165
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | Conflicts: guides/source/migrations.md
| * | | | fix some formatting13342012-12-031-2/+2
| | | | |
| * | | | added full file path in all file referencesYoni Yalovitsky2012-12-031-9/+9
| | | | | | | | | | | | | | | | | | | | | | | | | It's really comfy being able to copy-paste the file paths. I suppose there's also some benefit in trying to figure out the file name as a small exercise, but I don't think that sort of thing belongs in "Getting Started".
| * | | | removed an extra slash before the 'app' dirYoni Yalovitsky2012-12-031-1/+1
| | | | |
| * | | | Standardize use of "route globbing" and "wildcard segments" [ci skip]Pablo Torres2012-12-021-3/+3
| | | | |
| * | | | Add counterexample for regex [ci skip]Pablo Torres2012-12-021-1/+1
| | | | |
| * | | | Convert parragraph about security to a NOTE [ci skip]Pablo Torres2012-12-021-1/+1
| | | | |
| * | | | Add clarity to static segments docs in non-resourceful routes [ci skip]Pablo Torres2012-12-021-1/+1
| | | | |
| * | | | Correct grammar [ci skip]Pablo Torres2012-12-021-3/+3
| | | | |
| * | | | Convert a section to a tip to highlight it [ci skip]Pablo Torres2012-12-021-3/+1
| | | | |
| * | | | Normalize use of colon before code examples in routing guide [ci skip]Pablo Torres2012-12-021-32/+32
| | | | |
| * | | | Show equivalent routes definition without using concerns [ci skip]Pablo Torres2012-12-021-0/+13
| | | | |