Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | rewords the section about default_url_options in the Action Controller ↵ | Xavier Noria | 2012-04-09 | 1 | -3/+4 |
| | | | | Overview guide | ||||
* | Merge pull request #5783 from rafaelfranca/default_url_options | Santiago Pastorino | 2012-04-08 | 3 | -4/+4 |
|\ | | | | | Document that default_url_options must return a hash with symbolized keys | ||||
| * | Document that default_url_options must return a hash with symbolized | Rafael Mendonça França | 2012-04-09 | 1 | -0/+1 |
| | | | | | | | | keys | ||||
| * | default_url_options does not receive one argument anymore | Rafael Mendonça França | 2012-04-08 | 3 | -4/+3 |
| | | |||||
* | | Revert "Merge pull request #5750 from ahoward/master" | Santiago Pastorino | 2012-04-08 | 2 | -28/+1 |
| | | | | | | | | | | | | | | This reverts commit 174cf8b22064c3999dfa685014d5b31ac993bb54, reversing changes made to 7ecd6a731bd60665bc6de94095137f0b2c4ada2a. The reverted commit improved the performance in the wrong place, now we have added this 6ddbd1844a6fd6aca2992f5f75c9f605cf89808f improvement. | ||||
* | | Inline the symbolize_keys/stringify_keys methods | Santiago Pastorino | 2012-04-08 | 1 | -2/+10 |
| | | | | | | | | | | | | user system total real symbolize_keys 5.980000 0.070000 6.050000 ( 6.048187) new_symbolize_keys 4.310000 0.050000 4.360000 ( 4.364745) | ||||
* | | Remove Fixnum#to_sym support in 1.8.7 | Santiago Pastorino | 2012-04-08 | 1 | -1/+1 |
|/ | |||||
* | Merge pull request #5718 from benedikt/master | Jeremy Kemper | 2012-04-08 | 4 | -6/+13 |
|\ | | | | | Removes caching from ActiveRecord::Core::ClassMethods#relation | ||||
| * | Adds test to check that circular preloading does not modify Model.unscoped ↵ | Benedikt Deicke | 2012-04-03 | 3 | -4/+8 |
| | | | | | | | | (as described in #5667) | ||||
| * | Removes caching from ActiveRecord::Core::ClassMethods#relation | Benedikt Deicke | 2012-04-03 | 3 | -6/+9 |
| | | | | | | | | | | | | | | | | | | | | | | The #relation method gets called in four places and the return value was instantly cloned in three of them. The only place that did not clone was ActiveRecord::Scoping::Default::ClassMethods#unscoped. This introduced a bug described in #5667 and should really clone the relation, too. This means all four places would clone the relation, so it doesn't make a lot of sense caching it in the first place. The four places with calls to relations are: activerecord/lib/active_record/scoping/default.rb:110:in `block in build_default_scope'" activerecord/lib/active_record/scoping/default.rb:42:in `unscoped'" activerecord/lib/active_record/scoping/named.rb:38:in `scoped'" activerecord/lib/active_record/scoping/named.rb:52:in `scope_attributes'" | ||||
* | | Fix a couple more script[type=text/javascript] tests affected by #5748 | Jeremy Kemper | 2012-04-08 | 2 | -8/+8 |
| | | |||||
* | | Merge pull request #5748 from ai/no_type_in_html5 | Jeremy Kemper | 2012-04-08 | 20 | -196/+196 |
|\ \ | | | | | | | Remove unnecessary in HTML 5 type attribute with default value | ||||
| * | | Remove unnecessary in HTML 5 type attribute with default value | Andrey A.I. Sitnik | 2012-04-05 | 20 | -196/+196 |
| | | | |||||
* | | | Merge pull request #5773 from trevor/patch-1 | Vijay Dev | 2012-04-08 | 2 | -6/+6 |
|\ \ \ | | | | | | | | | url in comments - active_support/core_ext/integer/time.rb | ||||
| * | | | update stdlib doc urls in comments - ↵ | Trevor Wennblom | 2012-04-07 | 2 | -6/+6 |
| | | | | | | | | | | | | | | | | | | | | | | | | active_support/core_ext/[integer|numeric]/time.rb http://stdlib.rubyonrails.org/ last updated in 2005 | ||||
* | | | | adds a new test case for titleize | Xavier Noria | 2012-04-08 | 1 | -0/+1 |
| | | | | |||||
* | | | | Merge pull request #5759 from ↵ | Piotr Sarnacki | 2012-04-07 | 1 | -7/+7 |
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | romanvbabenko/refactor/rails_module_singleton_class_varibles Class variables has been fixed to Singleton instance variables at Rails ... | ||||
| * | | | Class variables has been fixed to Singleton instance variables at Rails module | Roman V. Babenko | 2012-04-06 | 1 | -7/+7 |
| | | | | |||||
* | | | | Merge pull request #5772 from lest/patch-4 | Xavier Noria | 2012-04-07 | 1 | -6/+4 |
|\ \ \ \ | | | | | | | | | | | use extract_options! in cycle helper | ||||
| * | | | | use extract_options! in cycle helper | Sergey Nartimov | 2012-04-07 | 1 | -6/+4 |
| | | | | | |||||
* | | | | | revises the regexp used in titleize | Xavier Noria | 2012-04-07 | 2 | -13/+16 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The regexp used in titleize matches saxon genitive and other contractions, only to call capitalize on the captured text and have the apostrophe upcased which yields the apostrophe itself. It is more clear that the regexp matches just what it has to match. | ||||
* | | | | | fix markup error [ci skip] | Vijay Dev | 2012-04-08 | 1 | -1/+1 |
| | | | | | |||||
* | | | | | avoid empty api pages | Vijay Dev | 2012-04-08 | 3 | -4/+7 |
|/ / / / | |||||
* | | | | Merge branch 'master' of github.com:lifo/docrails | Vijay Dev | 2012-04-07 | 5 | -14/+29 |
|\ \ \ \ | |||||
| * | | | | Don't use arel_table in published_and_commented example in querying guide | Ryan Bigg | 2012-04-07 | 1 | -1/+1 |
| | | | | | |||||
| * | | | | Revert "Documents that ActiveRecord instances also support []/[]= methods ↵ | Vijay Dev | 2012-04-07 | 1 | -11/+5 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | for reading/writing attributes" This reverts commit a49fe6ec2cb9f22a3b18d7db5ae2ee90325e9d09. Reason: The existing doc about using self[:attribute] is clear enough. | ||||
| * | | | | Revert "Where migration can get wrong help added" | Vijay Dev | 2012-04-07 | 1 | -10/+0 |
| | | | | | | | | | | | | | | | | | | | | This reverts commit b11113f924d2eb2acbe836954d17a02163f45275. | ||||
| * | | | | copy editing [ci skip] | Vijay Dev | 2012-04-07 | 1 | -5/+4 |
| | | | | | |||||
| * | | | | Fix example action dispatch in mime type | Alexey Vakhov | 2012-04-07 | 1 | -1/+1 |
| | | | | | |||||
| * | | | | Documents that ActiveRecord instances also support []/[]= methods for ↵ | Rodrigo Rosenfeld Rosas | 2012-04-06 | 1 | -5/+11 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | reading/writing attributes Only write_attribute and read_attribute were documented and there was no mention to this alternative. | ||||
| * | | | | Fix 'Everyday Git' link | Anil Wadghule | 2012-04-06 | 1 | -1/+1 |
| | | | | | |||||
| * | | | | Better class name | xyctka@gmail.com | 2012-04-06 | 1 | -2/+2 |
| | | | | | |||||
| * | | | | Update Custom Exception Handler section of Internationalization guide | xyctka@gmail.com | 2012-04-06 | 1 | -5/+21 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The previous example with just_raise_that_exception method stopped working because MissingTranslation is not an instance of Exception class any more, but has a +to_exception+ method. Also the cleaner way is to re-raise only the desired exception, passing everything else to the default ExceptionHandler. Additionally this re-raising conflicts with Pluralization backend thus we have to add a check that certain missing translation keys should be ignored allowing the backend to fall back to the default pluralization rule. | ||||
| * | | | | Where migration can get wrong help added | Sandip Ransing | 2012-04-06 | 1 | -0/+10 |
| | | | | | |||||
| * | | | | Improvement to migration guide | Sandip Ransing | 2012-04-06 | 1 | -6/+6 |
| | | | | | |||||
* | | | | | Merge pull request #5766 from lest/patch-4 | Vijay Dev | 2012-04-07 | 1 | -1/+1 |
|\ \ \ \ \ | |_|/ / / |/| | | | | pass default value as argument to fetch | ||||
| * | | | | pass default value as argument to fetch | Sergey Nartimov | 2012-04-06 | 1 | -1/+1 |
|/ / / / | |||||
* | | | | revises requires of some AS deprecation files | Xavier Noria | 2012-04-05 | 3 | -3/+4 |
| | | | | |||||
* | | | | documents the contract for the argument of AD::Routing::RouteSet#url_for | Xavier Noria | 2012-04-05 | 1 | -0/+1 |
| | | | | |||||
* | | | | Merge pull request #5751 from rafaelfranca/fix-build | Xavier Noria | 2012-04-05 | 3 | -2/+11 |
|\ \ \ \ | | | | | | | | | | | Fix url_for when options is nil | ||||
| * | | | | Make url_for work when option is nil and default_url_options has | Rafael Mendonça França | 2012-04-05 | 2 | -1/+10 |
| | | | | | | | | | | | | | | | | | | | | stringified keys | ||||
| * | | | | Fix url_for when options is nil | Rafael Mendonça França | 2012-04-05 | 1 | -1/+1 |
| |/ / / | | | | | | | | | | | | | | | | | RouteSet#url_for was modifying the options hash that belong to the caller | ||||
* | | | | Merge pull request #5753 from ↵ | José Valim | 2012-04-05 | 2 | -1/+3 |
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | carlosantoniodasilva/as-remove-require-and-warnings Remove circular require from AS Deprecation, and fix warnings | ||||
| * | | | Initialize variables in file update checker to avoid warnings | Carlos Antonio da Silva | 2012-04-05 | 1 | -0/+3 |
| | | | | |||||
| * | | | Remove not used require from as to avoid circular requires | Carlos Antonio da Silva | 2012-04-05 | 1 | -1/+0 |
|/ / / | |||||
* | | | Merge branch 'master' of github.com:lifo/docrails | Vijay Dev | 2012-04-05 | 8 | -54/+41 |
|\ \ \ | |||||
| * | | | lets not show too much output and shadow the intention [ci skip] | Vijay Dev | 2012-04-05 | 1 | -20/+3 |
| | | | | |||||
| * | | | minor fixes [ci skip] | Vijay Dev | 2012-04-05 | 1 | -2/+2 |
| | | | | |||||
| * | | | fix boolean value in guide [ci skip] | Vijay Dev | 2012-04-05 | 1 | -1/+1 |
| | | | | |||||
| * | | | Revert "Update activemodel rdoc links" | Vijay Dev | 2012-04-05 | 1 | -12/+12 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit ddb987551357d30301ab8cd99f4580988fa83340. Reason: The links must be relative so that they will work both in edge and stable api sites. |