aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | Redirect block with arity of 1 is deprecated.Semyon Perepelitsa2012-09-061-2/+2
| | | | |
| * | | | Fixed non-working around callback exampleAaron Renner2012-09-061-1/+1
| | | | |
| * | | | Doc: sweepers only work on Active Record Modelsschneems2012-09-052-2/+4
| | | | | | | | | | | | | | | In response to this rails issue: https://github.com/rails/rails/issues/3729
| * | | | Fix a typoAndreas Loupasakis2012-09-061-1/+1
| | | | |
| * | | | Fixed array wrongly translated in footnote in a guide [ci skip]Aldo "xoen" Giambelluca2012-09-051-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | In the sentence "If <tt>@post.author_ids</tt> is [1], this would ..." the array [1] is converted in a footnote, fixed this using <notextile>.
| * | | | Add giant belongs_to 'please don't pluralize me' noteRyan Bigg2012-09-051-0/+2
| | | | | | | | | | | | | | | | | | | | I've personally seen too many newbies get this wrong and pluralize the association
| * | | | update caching guide: stale? can also figure out last_modified on its ownKonstantin Haase2012-09-041-1/+12
| | | | |
| * | | | Update caching guide: memcache-client was replaced with dalliGuillermo Iguaran2012-09-031-1/+1
| | | | |
| * | | | Add section about tagged loggingGaurish Sharma2012-09-031-0/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Tagged logging for which Rails has support since [3.2](http://guides.rubyonrails.org/3_2_release_notes.html#tagged-logging). It is trivial & useful but unless somebody explicitly searches API docs, he/she may not know about it.  Hence, I added it in guides. 
| * | | | Fix indenentation in comment to stop the end of comment from appearing in a ↵Anuj Dutta2012-09-031-1/+1
| | | | | | | | | | | | | | | | | | | | <pre> block.
| * | | | Fixed validation issue and titles in Migrations guide [ci skip]Aldo "xoen" Giambelluca2012-09-021-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changed the title of the 3.5 chapter from "Using the change Method" to "When to Use the change Method" since the chapter tells the migration definitions supported by the change method. This fix the duplicate ID in the document. I've also changed some of the titles to respect the Guides guidelines.
| * | | | Fixed validation issue related to taken ID in Layout and Rendering guide [ci ↵Aldo "xoen" Giambelluca2012-09-021-1/+1
| | | | | | | | | | | | | | | | | | | | skip]
| * | | | Fixed validation issues in the "Configuring Rails Applications" guide [ci skip]Aldo "xoen" Giambelluca2012-09-021-1/+1
| | | | | | | | | | | | | | | | | | | | erb tag wasn't closed well
| * | | | Fixed validation issues related to taken IDs in AR Querying guide [ci skip]Aldo "xoen" Giambelluca2012-09-021-4/+4
| | | | |
| * | | | Underscore in _attr_readonly method name is back (Upgrading RoR guide) [ci skip]Aldo "xoen" Giambelluca2012-09-021-1/+1
| | | | |
| * | | | Fixed validation issue in Upgrading Ruby on Rails guide [ci skip]Aldo "xoen" Giambelluca2012-09-021-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In chapter 2.4 there was an underscore at the start of the attr_readonly method name, this underscore was interpreted as the opening of the <em> tag but it wasn't closed. Worst, the underscore in self.class.serialized_attributes (end of paragraph) was interpreted as the closing of the <em> tag and not as the name of a method.
* | | | | Merge pull request #7580 from spohlenz/mounted-url-helper-ivarsJosé Valim2012-09-092-1/+12
|\ \ \ \ \ | | | | | | | | | | | | Use internal instance variable naming scheme for mounted URL helpers
| * | | | | Use internal instance variable naming scheme for mounted URL helper proxiesSam Pohlenz2012-09-092-1/+12
| | |/ / / | |/| | |
* | | | | Merge pull request #7571 from arunagw/warning_removed_shadowingRafael Mendonça França2012-09-091-1/+1
|\ \ \ \ \ | |/ / / / |/| | | | removed warning: shadowing outer local variable
| * | | | removed warning: shadowing outer local variableArun Agrawal2012-09-091-1/+1
| | |/ / | |/| |
* | | | Merge pull request #7548 from ernie/missing-attributes-query-fixCarlos Antonio da Silva2012-09-083-1/+8
|\ \ \ \ | | | | | | | | | | Raise MissingAttributeError on query methods
| * | | | Raise MissingAttributeError on query methodsErnie Miller2012-09-083-1/+8
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When calling a query method on an attribute that was not selected by an ActiveRecord query, an ActiveModel::MissingAttributeError is not raised. Instead, a nil value is returned, which will return false once cast to boolean. This is undesirable, as we should not give the impression that we know the attribute's boolean value when we haven't loaded the attribute's (possibly) non-boolean value from the database. This issue is present on versions going back as far as 2.3, at least.
* | | | Merge pull request #7577 from frodsan/fix_ap_responseRafael Mendonça França2012-09-081-25/+32
|\ \ \ \ | | | | | | | | | | set default_headers to nil after use it to avoid order dependent tests
| * | | | set default_headers to nil after use it to avoid order dependent testsFrancesco Rodriguez2012-09-081-25/+32
| | | | |
* | | | | Merge pull request #7576 from ↵Rafael Mendonça França2012-09-081-0/+1
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | prijutme4ty/fix_require_necessary_for_generating_guides Fixed missing require
| * | | | | Fixed missing requireIlya Vorontsov2012-09-081-0/+1
|/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Missing require caused fail of guide generation (in action_dispatch/http/mime_type, line 295, undefined method `ends_with` for "to_ary":String) With this fix guides were normally generated
* | | | | Merge pull request #7574 from frodsan/chlog_arRafael Mendonça França2012-09-081-8/+9
|\ \ \ \ \ | |/ / / / |/| | | | improve AR CHANGELOG [ci skip]
| * | | | improve AR CHANGELOG [ci skip]Francesco Rodriguez2012-09-081-8/+9
|/ / / /
* | | | Tidy up excerpt separator logic a bitCarlos Antonio da Silva2012-09-081-17/+11
| | | |
* | | | Improve latest AR and AP changelog entriesCarlos Antonio da Silva2012-09-082-2/+10
| | | |
* | | | Refactor some date helpers to use merge!Carlos Antonio da Silva2012-09-081-5/+9
| | | | | | | | | | | | | | | | Also just set the hash value instead of merging when it's only one key.
* | | | Refactor nested attributes limit logic to lookup :limit option only onceCarlos Antonio da Silva2012-09-081-11/+12
| | | |
* | | | Merge pull request #7189 from GCorbel/excerpt_with_separationCarlos Antonio da Silva2012-09-083-11/+64
|\ \ \ \ | | | | | | | | | | Add a separator option for the excerpt function.
| * | | | Add a separation option for the excerpt functionGuirec Corbel2012-09-083-11/+64
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The separation option enable to keep entire words, lines or anything. To split by line, like github, we can set the separation option as \n. To split by word, like google, we can set the separation option as " ". The radius option represent the number of lines or words we want to have in the result. The default behaviour is the same. If we don't set the separation option, it split the text any where.
* | | | Merge pull request #7566 from etehtsea/schema-new-hashCarlos Antonio da Silva2012-09-085-61/+63
|\ \ \ \ | | | | | | | | | | Dump schema using new style hash
| * | | | Dump schema using new style hashKonstantin Shabanov2012-09-085-61/+63
| |/ / /
* | | | Merge pull request #7568 from alup/masterCarlos Antonio da Silva2012-09-082-0/+29
|\ \ \ \ | |/ / / |/| | | Tests for session handling
| * | | Add integration tests for reset_session in cookie storeAndreas Loupasakis2012-09-081-0/+20
| | | |
| * | | Add test for clear in ActionDispatch::Request::SessionAndreas Loupasakis2012-09-081-0/+9
|/ / /
* | | Add changelog entry for #7545: map interval with precision to stringCarlos Antonio da Silva2012-09-071-0/+2
| | | | | | | | | | | | | | | Merged in f41dba27a411fe3e2ddeb8d9ab6856dbb23acd02 [ci skip]
* | | Merge pull request #7545 from senny/7518_postgres_type_detectionAaron Patterson2012-09-073-3/+6
|\ \ \ | | | | | | | | postgres, map scaled intervals to string datatype
| * | | postgres, map scaled intervals to string datatype (#7518)Yves Senn2012-09-063-3/+6
| | | |
* | | | Minor refactor in ActiveRecord#initialize_dupCarlos Antonio da Silva2012-09-073-12/+4
| | | | | | | | | | | | | | | | | | | | | | | | * There is no need to delete the primary key from cloned attributes, since it sets the same pk to nil afterwards. * Check for empty? instead of any? to run initialize callbacks.
* | | | Merge pull request #7565 from guilleiguaran/dalli-session-storeCarlos Antonio da Silva2012-09-071-2/+6
|\ \ \ \ | | | | | | | | | | Improve error message for memcache session store when dalli isn't loaded
| * | | | Improve error message for memcache session store when dalli isn't loaded in appGuillermo Iguaran2012-09-071-2/+6
| | | | |
* | | | | create a transaction object and point AR objects at that object during aAaron Patterson2012-09-074-12/+55
| | | | | | | | | | | | | | | | | | | | transaction.
* | | | | Fix AS tests due to builder change with nil values / empty stringsCarlos Antonio da Silva2012-09-071-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | Check 0180e090ab6cbe66f7b521a0c03e278a0463accd for more reasoning about that.
* | | | | Fix AR tests due to builder change with nil values / empty stringsCarlos Antonio da Silva2012-09-071-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | Check 0180e090ab6cbe66f7b521a0c03e278a0463accd for more reasoning about that.
* | | | | Bump builder dependencies in Active Model and Action PackCarlos Antonio da Silva2012-09-072-2/+2
| | | | |
* | | | | Update Active Model xml serialization test to reflect a change in builderCarlos Antonio da Silva2012-09-072-1/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Due to a change in builder, nil values and empty strings now generates closed tags, so instead of this: <pseudonyms nil=\"true\"></pseudonyms> It generates this: <pseudonyms nil=\"true\"/> Document this change in Rails so that people can track it down easily if necessary.