aboutsummaryrefslogtreecommitdiffstats
path: root/guides
Commit message (Collapse)AuthorAgeFilesLines
* update 4.0 release notes to reflect the removal of auto explain.Yves Senn2013-02-251-0/+2
|
* update the example for `after_commit` in the guides.Yves Senn2013-02-241-9/+7
| | | | This is a follow up to #9356.
* Merge pull request #9400 from senny/remove_auto_explain_threshold_in_secondsXavier Noria2013-02-244-49/+0
|\ | | | | remove config.auto_explain_threshold_in_seconds
| * remove AR auto-explain (config.auto_explain_threshold_in_seconds)Yves Senn2013-02-244-49/+0
| | | | | | | | | | | | | | | | | | | | We discussed that the auto explain feature is rarely used. This PR removes only the automatic explain. You can still display the explain output for any given relation using `ActiveRecord::Relation#explain`. As a side-effect this should also fix the connection problem during asset compilation (#9385). The auto explain initializer in the `ActiveRecord::Railtie` forced a connection.
* | Mention the extraction of Active Resource in the upgrading guideRafael Mendonça França2013-02-241-0/+4
| | | | | | | | [ci skip]
* | Mention the removal of attr_accessible and attr_protected in the upgrading guideRafael Mendonça França2013-02-241-0/+2
|/ | | | | | | Point to the Protected Attributes gem to those who want a smoothly upgrade path before to change to use Strong Parameters. [ci skip]
* Add more documentation for create_join_table.Marc Schütz2013-02-201-0/+10
| | | | | Explain that it doesn't create indices by default and that it also has a block form.
* Remove XML Parser from ActionDispatchPrem Sichanugrist2013-02-201-3/+5
| | | | | If you want an ability to parse XML parameters, please install `actionpack-xml_parser` gem.
* Improve upgrading guide with ActionDispatch::BestStandardsSupport removalrobertomiranda2013-02-191-0/+10
|
* fixes a typo in the migrations guideXavier Noria2013-02-191-1/+1
|
* Document changes in #7968Brian Alexander2013-02-181-0/+1
|
* Gist URLs are now namespacedAkira Matsuda2013-02-182-2/+2
| | | | see: https://github.com/blog/1406-namespaced-gists
* Merge branch 'master' of github.com:lifo/docrailsVijay Dev2013-02-154-3/+35
|\ | | | | | | | | Conflicts: guides/source/upgrading_ruby_on_rails.md
| * copy edits [ci skip]Vijay Dev2013-02-151-2/+2
| |
| * Revert "incorrect content of models/comment.rb after 'rails generate'"Rafael Mendonça França2013-02-131-2/+0
| | | | | | | | | | | | | | This reverts commit 0f0803fda5df60319d8646bb4f3e71f2e596316a. Reason: The content was correct since attr_accessible was removed from rails master.
| * incorrect content of models/comment.rb after 'rails generate'Kuba Brecka2013-02-131-0/+2
| |
| * Detail Ruby 1.8 ships with TestUnit and Ruby 1.9 with MiniTestAmerico Savinon2013-02-121-1/+4
| |
| * Fix supported ruby version for Rails 4Ryunosuke SATO2013-02-101-1/+1
| |
| * Fix CoffeeScript exampleRyunosuke SATO2013-02-101-1/+1
| | | | | | | | `a[data-color]` is not used in example html.
| * Validations guide: validates_with init clarification.Henrik Nyh2013-02-091-0/+29
| | | | | | As discussed with @josevalim on Ruby Rogues Parley.
| * Fix file name in document [ci skip]Ryunosuke SATO2013-02-051-1/+1
| | | | | | | | This file was renamed in c8a25386d.
* | fix the example code in the engines guide. closes #8583.Yves Senn2013-02-111-0/+8
| |
* | remove trailing whitespace from engines guideYves Senn2013-02-111-4/+4
| |
* | fix a typo on the engine guideLuis Vasconcellos2013-02-111-1/+1
| |
* | Prefer Ruby 2.0; require 1.9.3+Jeremy Kemper2013-02-093-7/+7
| |
* | ruby constant syntax is not supported as routing `:controller` option.Yves Senn2013-02-061-0/+13
| | | | | | | | | | | | | | | | | | | | The current implementation only works correctly if you supply the `:controller` with directory notation (eg. `:controller => 'admin/posts'`). The ruby constant notation (eg. `:controller => 'Admin::Posts`) leads to unexpected problems with `url_for`. This patch prints a warning for every non supported `:controller` option. I also added documentation how to work with namespaced controllers. The warning links to that documentation in the rails guide.
* | Update upgrading guide with ActionDispatch::BestStandardsSupport removalrobertomiranda2013-02-041-0/+2
| |
* | Merge pull request #9151 from gogogarrett/patch-1Rafael Mendonça França2013-02-021-1/+1
|\ \ | |/ |/| Fix link to point to new RefineryCMS repo
| * Fix link to point to new RefineryCMS repoGarrett Heinlen2013-02-011-1/+1
| |
* | Merge remote-tracking branch 'docrails/master'Xavier Noria2013-02-023-5/+5
|\ \ | |/ |/|
| * Revert "Detail middleware initialization points in the initialization guide ↵Xavier Noria2013-02-021-74/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | [ci skip]" I feel this is too detailed for the guide. Most of that is not public interface, and if tomorrow something is added or removed in those chains we do not want to come here to maintain it. Also, linking to a gist is not a good idea in a guide. We could have a more broad description of what goes in what order, the most key and public things. This reverts commit 862a05edf3af128f25a87999936262b733ed781e.
| * Fix formatting: ruby->erb. [ci skip]Nicholas Schultz-Møller2013-01-311-3/+3
| |
| * Typo in codemanishval2013-01-291-1/+1
| |
| * Fix typo in rails plugins guideManish Valechha2013-01-271-1/+1
| |
| * Detail middleware initialization points in the initialization guide [ci skip]Michael de Silva2013-01-271-1/+74
| |
* | Remove BestStandardsSupport referencesrobertomiranda2013-02-013-10/+3
| |
* | Merge pull request #8830 from antoinelyset/masterXavier Noria2013-01-281-0/+2
|\ \ | |/ |/| Improve String#squish whitespaces matching
| * Improve String#squish whitespaces matchingAntoine Lyset2013-01-221-0/+2
| |
* | Merge remote-tracking branch 'docrails/master'Xavier Noria2013-01-2614-37/+92
|\ \ | | | | | | | | | | | | | | | Conflicts: actionpack/lib/action_view/helpers/form_options_helper.rb guides/code/getting_started/app/controllers/comments_controller.rb
| * | generic pass before merging docrailsXavier Noria2013-01-261-1/+1
| | |
| * | Remove mass-assignment line from guide summaryAndrew Wilcox2013-01-251-1/+0
| | |
| * | fix Active Record/Action Pack Changelog linksJuanjo Bazán2013-01-251-2/+2
| | |
| * | [engines guide] reformatted some stuffWeston Platter2013-01-241-3/+3
| | |
| * | [engines guide] reworded a run onWeston Platter2013-01-241-3/+2
| | |
| * | Add new DB rake tasks to the contributing section.Vipul A M2013-01-231-0/+14
| | |
| * | Made indentation consistent.Philip Arndt2013-01-231-1/+1
| | |
| * | Typo, grammar, and comma love.Brian Littmann2013-01-221-4/+4
| | |
| * | Typo fix in guides/source/engines.mdBrian Littmann2013-01-221-1/+1
| | |
| * | consistently inherit from ApplicationController in guides exemplesCyril Jouve2013-01-203-4/+4
| | |
| * | Replacing plugin to gemLucas Caton2013-01-191-2/+2
| | |