aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* PostgreSQL, warn once per connection per missing OID. Closes #14275.Yves Senn2014-04-113-2/+19
| | | | [Yves Senn & Matthew Draper]
* PostgreSQL, adapter automatically reloads it's type map. Closes #14678.Yves Senn2014-04-118-16/+57
| | | | [Yves Senn & Matthew Draper]
* docs, make association `autosave: true` examples runnable. Closes #14700Yves Senn2014-04-111-6/+9
| | | | | | | | | | | | | | [ci skip] The examples are written in a way you expect them to be executable. However one snippet assumed there to be two comments when only one was created above. The defined models did not extend `ActiveRecord::Base` The example used `comments.last.mark_for_destruction`. This does no longer load the whole collection but just the last record. It is then refetcht on subsequent calls to `last`. This breaks the example.
* Merge pull request #12829 from iantropov/issue_insert_via_hmt_scope_3548Rafael Mendonça França2014-04-106-4/+32
|\ | | | | | | | | | | | | Fix insertion of records for hmt association with scope Conflicts: activerecord/CHANGELOG.md
| * Fix insertion of records for hmt association with scope, fix #3548Ivan Antropov2013-11-176-4/+32
| |
* | Merge pull request #14694 from heironimus/callback_guideRafael Mendonça França2014-04-101-0/+3
|\ \ | | | | | | Add after_commit/after_rollback to callback list
| * | Add after_commit/after_rollback to callback listKyle Heironimus2014-04-101-0/+3
| | | | | | | | | | | | | | | | | | Adding after_commit/after_rollback to list of callbacks in order helps explain the callback order as well as making it consistent with the API docs at http://api.rubyonrails.org/classes/ActiveRecord/Callbacks.html
* | | Merge pull request #14695 from akshay-vishnoi/doc_changesRafael Mendonça França2014-04-101-14/+1
|\ \ \ | |/ / |/| | [ci skip] Remove false documentation
| * | [ci skip] Remove false documentationAkshay Vishnoi2014-04-111-14/+1
|/ /
* | Remove warning of unused variableRafael Mendonça França2014-04-101-1/+1
| |
* | Merge branch 'rm-uuid-fixtures'Rafael Mendonça França2014-04-1013-10/+149
|\ \
| * | No need to call sendRafael Mendonça França2014-04-101-1/+1
| | |
| * | Merge branch 'master' into rm-uuid-fixturesRafael Mendonça França2014-04-1079-287/+783
| |\ \ | |/ / |/| | | | | | | | | | | Conflicts: activerecord/CHANGELOG.md activesupport/CHANGELOG.md
* | | Require action_controller before any other action_controller fileRafael Mendonça França2014-04-101-0/+1
| | | | | | | | | | | | | | | | | | This will load properly the loading hooks. Closes rails/sass-rails#205
* | | Merge pull request #11656 from emre-basala/xml_mini_testRafael Mendonça França2014-04-101-1/+58
|\ \ \ | | | | | | | | Add tests to ActiveSupport:XmlMini to_tag method
| * | | Add tests to ActiveSupport:XmlMini to_tag methodemre-basala2013-08-071-1/+58
| | | |
* | | | Merge pull request #14677 from JuanitoFatas/update-initialization-code-snippetsRafael Mendonça França2014-04-101-53/+102
|\ \ \ \ | | | | | | | | | | [ci skip] Update code snippets to latest master (initialization.md).
| * | | | [ci skip] Update code snippets to latest master (initialization.md).Juanito Fatas2014-04-101-53/+102
| | | | | | | | | | | | | | | | | | | | Also update the `server.run` example (Replace Mongrel with Puma).
* | | | | Merge pull request #14679 from pbharadiya/masterYves Senn2014-04-101-1/+1
|\ \ \ \ \ | | | | | | | | | | | | Correct factual error for page not found [ci skip]
| * | | | | Correct factual error for page not foundParth Bharadiya2014-04-101-1/+1
|/ / / / /
* / / / / +EOLAkira Matsuda2014-04-101-1/+1
|/ / / /
* | | | Merge pull request #11411 from dscataglini/masterAaron Patterson2014-04-091-6/+12
|\ \ \ \ | | | | | | | | | | Active support callback's before/after/around filters are not correctly making their singleton methods private
| * | | | private method doesn't work for singleton methods defined this wayDiego Scataglini2013-07-121-6/+12
| | | | |
* | | | | Only call uniq on the conditional that actually needs itCarlos Antonio da Silva2014-04-091-1/+1
| | | | |
* | | | | Remove extra collect callCarlos Antonio da Silva2014-04-091-1/+1
| | | | |
* | | | | Merge pull request #14675 from ↵Aaron Patterson2014-04-092-7/+7
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | laurocaetano/make_reflection_caches_works_with_string_keys Make reflection and aggregate_reflection caches work with string keys.
| * | | | | Make sure the reflection test is passing a String to the reflectionLauro Caetano2014-04-091-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | cache.
| * | | | | Make the aggregate_reflections cache work with strings as its keys.Lauro Caetano2014-04-091-2/+2
| | | | | |
| * | | | | No need to call `to_sym` on reflection name, since the cache now worksLauro Caetano2014-04-091-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | with strings with string keys. Related #14668.
| * | | | | Make the reflections cache work with strings as its keys.Lauro Caetano2014-04-091-2/+2
|/ / / / /
* | | | | Merge pull request #14671 from arthurnn/travis_memcacheRafael Mendonça França2014-04-091-0/+1
|\ \ \ \ \ | | | | | | | | | | | | add services: memcache to travis
| * | | | | add services: memcache to travisArthur Neves2014-04-091-0/+1
|/ / / / /
* | | | | Merge pull request #14668 from laurocaetano/source_option_with_string_valueAaron Patterson2014-04-092-3/+3
|\ \ \ \ \ | | | | | | | | | | | | The :source option for has_many => through should accept String values.
| * | | | | The `source` option for `has_many => through` should accept StringLauro Caetano2014-04-092-3/+3
|/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | values. With the changes introduced by 16b70fddd4dc7e7fb7be108add88bae6e3c2509b it was expecting the value to be a Symbol, while it could be also a String value.
* | | | | Merge pull request #14665 from andrielfn/avoid-uri-parsingRafael Mendonça França2014-04-092-5/+15
|\ \ \ \ \ | | | | | | | | | | | | Avoid URI parsing
| * | | | | Avoid URI parsingAndriel Nuernberg2014-04-092-5/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This parsing is unecessary once the Request object already has the needed information.
* | | | | | Merge pull request #14667 from lucasmazza/require-per-thread-registryRafael Mendonça França2014-04-091-0/+1
|\ \ \ \ \ \ | | | | | | | | | | | | | | Add missing require so requiring `active_support/cache` works again.
| * | | | | | Add missing require so requiring `active_support/cache` works again.Lucas Mazza2014-04-091-0/+1
| |/ / / / /
* / / / / / depend_on_asset is not required anymore on sprockets-rails 2.1.2Rafael Mendonça França2014-04-093-25/+11
|/ / / / /
* | | | | Merge pull request #14654 from Alamoz/secret_keyRafael Mendonça França2014-04-091-4/+7
|\ \ \ \ \ | | | | | | | | | | | | Expand explanation of how to set secrets.yml.
| * | | | | Expand explanation of how to set secrets.yml. [ci skip]Adrien Lamothe2014-04-081-4/+7
| | | | | |
* | | | | | upgrading section for 4.1 is no longer WIP. [ci skip]Yves Senn2014-04-091-2/+0
| | | | | |
* | | | | | Merge pull request #14653 from vdmgolub/patch-1Arun Agrawal2014-04-091-1/+1
|\ \ \ \ \ \ | | | | | | | | | | | | | | Guides: minor typo fixed in Asset Pipeline guide
| * | | | | | Guides: minor typo fixed [ci skip]Vadim Golub2014-04-091-1/+1
| |/ / / / /
* | | | | | Merge pull request #14652 from Emily/duration_eqlsGuillermo Iguaran2014-04-083-0/+45
|\ \ \ \ \ \ | |/ / / / / |/| | | | | Fixed problem where `1.day.eql?(1.day)` is false
| * | | | | Fixed problem where `1.day.eql?(1.day)` is falseEmily Dobervich2014-04-083-0/+45
|/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes: 1.second.eql?(1.second) #=> false The new `eql?` requires that `other` is an `ActiveSupport::Duration`. This requirement makes `ActiveSupport::Duration`'s behavior consistent with other numeric types in Ruby. 1.eql?(1.0) #=> false 1.0.eql?(1) #=> false 1.second.eql?(1) #=> false (was true) 1.eql?(1.second) #=> false { 1 => "foo", 1.0 => "bar" } #=> { 1 => "foo", 1.0 => "bar" } { 1 => "foo", 1.second => "bar" } # now => { 1 => "foo", 1.second => "bar" } # was => { 1 => "bar" } And though the behavior here hasn't changed, for reference: 1 == 1.0 #=> true 1.0 == 1 #=> true 1 == 1.second #=> true 1.second == 1 #=> true
* | | | | new CHANGELOGs entries are in the top [ci skip]Rafael Mendonça França2014-04-081-4/+4
| | | | |
* | | | | Merge pull request #14647 from matiaskorhonen/updates-maintenance-policyRafael Mendonça França2014-04-082-3/+7
|\ \ \ \ \ | | | | | | | | | | | | Updates the maintenance policy with new Rails versions
| * | | | | Updates the maintenance policy with new Rails versionsMatias Korhonen2014-04-082-3/+7
|/ / / / /
* | | | | Dont abbreviate that which needs no abbreviationDavid Heinemeier Hansson2014-04-081-2/+2
| | | | |