Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge pull request #9925 from senny/relative_guide_links | Steve Klabnik | 2013-03-25 | 3 | -18/+26 |
|\ | | | | | use relative links inside guides [ci skip] | ||||
| * | use relative links inside guides [ci skip] | Yves Senn | 2013-03-25 | 3 | -18/+26 |
| | | |||||
* | | move mailer testing examples into the testing guide. | Yves Senn | 2013-03-25 | 2 | -36/+26 |
|/ | | | | | | | | Closes #9325. I adjusted the example and the description in the testing guide and simply linked from the mailer to the testing guide. This way we don't have to maintain two separate places. | ||||
* | Merge pull request #9909 from trevorturk/9740 | Jeremy Kemper | 2013-03-24 | 1 | -1/+11 |
|\ | | | | | Transparently upgrade signed cookies when setting secret_key_base | ||||
| * | Introduce UpgradeLegacySignedCookieJar to transparently upgrade existing ↵ | Trevor Turk | 2013-03-24 | 1 | -1/+11 |
| | | | | | | | | signed cookies generated by Rails 3 to avoid invalidating them when upgrading to Rails 4 | ||||
* | | Relaxed jbuilder dependency and bumped version number | Pavel Pravosud | 2013-03-25 | 1 | -1/+1 |
|/ | | | | Newer version contains some generator bugfixes | ||||
* | Merge pull request #9704 from trevorturk/warn-about-skipped-routes | Jeremy Kemper | 2013-03-24 | 1 | -15/+3 |
|\ | | | | | Raise an ArgumentError when a clashing named route is defined | ||||
| * | Raise an ArgumentError when a clashing named route is defined | Trevor Turk | 2013-03-19 | 1 | -15/+3 |
| | | |||||
* | | Better styles for the CSS [ci skip] | Rafael Mendonça França | 2013-03-23 | 3 | -38/+38 |
|/ | |||||
* | Fix guides error on error class name | Sebastian Sogamoso | 2013-03-19 | 1 | -1/+1 |
| | | | The error that's raised in case the required key is missing it's actually `ActionController::ParameterMissing` not `ActionController::MissingParameter`. It's important to fix so that people reading the guides knows what error to rescue from when needed. | ||||
* | More helpful message when starting server | Gabe Kopley | 2013-03-18 | 1 | -1/+1 |
| | | | | v2 of pull request based on feedback from @rafaelfranca, @schneems, and @carlosantoniodasilva | ||||
* | Getting Started Guide: typo fix. [ci skip] | Steve Klabnik | 2013-03-16 | 1 | -1/+1 |
| | | | | | | There was an s missing in 'views'. Fixes #9752. | ||||
* | Update image in Getting Started Guide [ci skip] | Steve Klabnik | 2013-03-16 | 1 | -0/+0 |
| | | | | | | | When I updated these images, I must have gotten this one wrong. Now it's right. Fixes #9749. | ||||
* | rename `Relation#uniq` to `Relation#distinct`. `#uniq` still works. | Yves Senn | 2013-03-15 | 1 | -5/+6 |
| | | | | | | | | The similarity of `Relation#uniq` to `Array#uniq` is confusing. Since our Relation API is close to SQL terms I renamed `#uniq` to `#distinct`. There is no deprecation. `#uniq` and `#uniq!` are aliases and will continue to work. I also updated the documentation to promote the use of `#distinct`. | ||||
* | `Http::Headers` directly modifies the passed environment. | Yves Senn | 2013-03-15 | 1 | -0/+15 |
| | | | | | | | | | The env hash passed to `Http::Headers#new` must be in env format. Also be aware that the passed hash is modified directly. docs and test-cases for setting headers/env in functional tests. Follow up to #9700. | ||||
* | Getting Started Guide: 3.2.9 -> 4.0.0. [ci skip] | Steve Klabnik | 2013-03-14 | 1 | -1/+1 |
| | | | | Brought up in https://github.com/rails/rails/issues/9727 | ||||
* | Document change to clashing named route selection from journey commit 98a9802a | Trevor Turk | 2013-03-12 | 1 | -0/+26 |
| | |||||
* | Improve wording for rails test command | Dalibor Nasevic | 2013-03-09 | 1 | -4/+3 |
| | |||||
* | Add support for MiniTest flags in TestRunner | Prem Sichanugrist | 2013-03-09 | 1 | -20/+5 |
| | | | | | Any flags that got set will be passed through to MiniTest::Unit.runner, such as `-n`, `-s-, and `-v`. | ||||
* | Update testing documentation | Prem Sichanugrist | 2013-03-09 | 1 | -63/+71 |
| | | | | | | | * Update test invocation to use `rails test` instead. * Update all the test command previews (since we're now using MiniTest.) * Mentioning MiniTest instead of Test::Unit. * Update list of test suites. | ||||
* | Merge branch 'master' of github.com:lifo/docrails | Vijay Dev | 2013-03-10 | 7 | -14/+90 |
|\ | |||||
| * | copy edits [ci skip] | Vijay Dev | 2013-03-10 | 2 | -4/+4 |
| | | |||||
| * | fixed typo in strong parameters example | Yves Senn | 2013-03-09 | 1 | -1/+1 |
| | | |||||
| * | strong parameter example for hashes with integer keys. | Yves Senn | 2013-03-09 | 1 | -0/+14 |
| | | | | | | | | | | This replicates the situation described in https://github.com/rails/strong_parameters/issues/114 | ||||
| * | Adding a note for :body option in `mail` method. | Fabrizio Regini | 2013-03-08 | 1 | -0/+13 |
| | | |||||
| * | fixing typo in the merging scopes section | Neeraj Singh | 2013-03-08 | 1 | -4/+3 |
| | | |||||
| * | Explained how merging of scope works | Neeraj Singh | 2013-03-08 | 1 | -0/+56 |
| | | |||||
| * | Some copy edit and formatting for upgrading guide. | Hendy Tanata | 2013-03-08 | 1 | -3/+3 |
| | | |||||
| * | remove the new metadata note in Rails 4 upgrade guide | Alex Robbin | 2013-03-07 | 1 | -6/+0 |
| | | | | | | | | this was pulled out of Rails 4, see rails/rails#8399 for the discussion | ||||
| * | fixes active_record_querying #pluck example | awilliams | 2013-03-07 | 1 | -1/+1 |
| | | |||||
| * | Typppo | Akira Matsuda | 2013-03-06 | 2 | -3/+3 |
| | | |||||
* | | replace non-breaking spaces with normal spaces [ci skip] | Yves Senn | 2013-03-07 | 2 | -4/+4 |
| | | |||||
* | | Merge pull request #9507 from senny/9483_migrations_without_transactions | Rafael Mendonça França | 2013-03-06 | 1 | -1/+5 |
|\ \ | |/ |/| | Transactions can be turned off per Migration | ||||
| * | transactions can be turned off per Migration. | Yves Senn | 2013-03-05 | 1 | -1/+5 |
| | | | | | | | | | | | | | | | | | | | | | | Closes #9483. There are SQL Queries that can't run inside a transaction. Since the Migrator used to wrap all Migrations inside a transaction there was no way to run these queries within a migration. This patch adds `self.disable_ddl_transaction!` to the migration to turn transactions off when necessary. | ||||
* | | Merge branch 'master' of github.com:lifo/docrails | Vijay Dev | 2013-03-05 | 3 | -5/+3 |
|\ \ | |/ |/| | |||||
| * | Remove reference to BugMash. Link hasn't been updated in 4 years. | Jonathan Roes | 2013-03-05 | 1 | -2/+0 |
| | | |||||
| * | Add explanation of :dependent => :restrict | David Deller | 2013-03-01 | 1 | -1/+1 |
| | | | | | | Based on information here: http://api.rubyonrails.org/classes/ActiveRecord/Associations/ClassMethods.html#method-i-has_many | ||||
| * | Reverting commit regarding public/index.html (no longer in Rails 4.) | Christine Hertzel | 2013-03-01 | 1 | -2/+0 |
| | | | | | | | | This reverts commit f8461f73c77c186ad0aa735fe9877990bffe1990. | ||||
| * | Fixed grammatical error and simplified paragraph concerning controllers. | Christine Hertzel | 2013-03-01 | 1 | -1/+1 |
| | | | | | | | | Signed-off-by: Chelsea Macaluso <c.macaluso@modcloth.com> | ||||
| * | Clarified removal of public/index.html file | Chelsea Macaluso | 2013-03-01 | 1 | -0/+2 |
| | | | | | | | | Signed-off-by: Trent Michaels <t.michaels@modcloth.com> | ||||
| * | Clarified need to remove existing code in welcome index. | Trent Michaels | 2013-03-01 | 1 | -1/+1 |
| | | | | | | | | Signed-off-by: Chelsea Macaluso <c.macaluso@modcloth.com> | ||||
* | | Fix typo in AC overview guide [ci skip] | Carlos Antonio da Silva | 2013-03-05 | 1 | -1/+1 |
| | | |||||
* | | example for `accepts_nested_attribtues_for` and strong parameters. | Yves Senn | 2013-03-05 | 1 | -0/+9 |
| | | | | | | | | Closes #9558. | ||||
* | | strong parameters example for default values using `fetch`. [ci skip] | Yves Senn | 2013-03-05 | 1 | -0/+12 |
| | | | | | | | | Origin: #9534. | ||||
* | | adds guides/.document to tell rdoc not to process this directory | Xavier Noria | 2013-03-04 | 1 | -0/+0 |
| | | | | | | | | | | | | When the Rails 4 gem is installed rdoc sees markdown files below the guides directory and processes them. With an empty .document file we prevent that from happening. Thanks to @drbrain for the tip. | ||||
* | | add prompt to 422 page to check logs | Nihad Abbasov | 2013-03-04 | 1 | -2/+3 |
| | | |||||
* | | Created an unscope method for removing relations from a chain of | wangjohn | 2013-03-03 | 1 | -0/+21 |
| | | | | | | | | | | relations. Specific where values can be unscoped, and the unscope method still works when relations are merged or combined. | ||||
* | | integrate the strong params README into the AC guide. | Yves Senn | 2013-03-03 | 1 | -0/+118 |
| | | | | | | | | | | | | | | | | | | | | The current ActionController guide does not mention strong parameters at all. I integrated the README into the guide to explain the API. I also included a section to illustrate that the API does not solve all possible whitelisting scenarios. The origin was #9454. | ||||
* | | Merge pull request #9512 from Jacke/master | Guillermo Iguaran | 2013-03-02 | 4 | -34/+127 |
|\ \ | | | | | | | New 404, 422, 500 pages, they are more stylish and bring ruby essence… | ||||
| * | | New beauty pages(404, 422, 500) | Stanislav | 2013-03-02 | 4 | -34/+127 |
| | | | | | | | | | | | | | | | | | | moving changelog note to unreleased section New beauty pages(404, 422, 500) |