aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Prevent the counter cache from being decremented twicedm1try2013-11-113-1/+17
| | | | | when destroying a record on a has_many :through association. :destroy method has own counter_cache callbacks.
* Merge pull request #12815 from Adam89/patch-1Xavier Noria2013-11-111-1/+1
|\ | | | | Update security.md [ci skip]
| * Update security.mdAdam2013-11-081-1/+1
| | | | | | | | | | | | Hi Guys I was reading through this guide last night and noticed a small mistake, would be great if you could update it. I changed the word 'building' to 'build' in line 20. "Web application frameworks are made to help developers building web applications"
* | Merge pull request #12425 from senny/mysql_booleansYves Senn2013-11-114-6/+104
|\ \ | | | | | | Unify boolean quoting for Mysql- and Mysql2Adapter.
| * | Unifies mysql and mysql2 casting of booleans.Yves Senn2013-11-114-9/+16
| | |
| * | test cases to describe the MySQL boolean behavior.Yves Senn2013-11-111-0/+91
|/ /
* | Do not count "SHOW CREATE TABLE" queries when testing against mysqlAkira Matsuda2013-11-111-1/+1
| |
* | Merge pull request #12847 from jipe/masterXavier Noria2013-11-111-1/+1
|\ \ | | | | | | Fixed typo in migrations guide [ci skip]
| * | Fixed typo in migrations guideJimmy Petersen2013-11-111-1/+1
|/ / | | | | | | | | Product model name was pluralized in example in migrations guide. [ci skip]
* | tidy Active Record CHANGELOG. [ci skip].Yves Senn2013-11-111-1/+3
| |
* | Avoid sorting an Array including objects from different ClassesAkira Matsuda2013-11-111-1/+1
| | | | | | | | addresses "ArgumentError: comparison of VerySpecialComment with SpecialComment failed" in ActiveRecord::DelegationRelationTest#test_#sort!_delegation_is_deprecated
* | Load test fixtures where data are neededAkira Matsuda2013-11-111-0/+2
| | | | | | | | Without this, some tests here were not actually testing anything.
* | Merge pull request #12834 from dredozubov/has_one_association_replacementYves Senn2013-11-113-4/+26
|\ \ | | | | | | Fixes problem with replacing has_one association record with itself
| * | Fixes problem with replacing has_one association record with itselfDenis Redozubov2013-11-113-4/+26
| | |
* | | A tiny grammatical fixAkira Matsuda2013-11-111-1/+1
| | | | | | | | | | | | [ci skip]
* | | Merge pull request #12844 from ↵Rafael Mendonça França2013-11-111-0/+1
|\ \ \ | | | | | | | | | | | | | | | | akalyaev/bugfix/12835-autoload-change-column-definition autoload ChangeColumnDefinition (Fixes #12835)
| * | | autoload ChangeColumnDefinition (Fixes #12835)Anton Kalyaev2013-11-111-0/+1
| | | |
* | | | Merge pull request #12843 from DeltaKilo/css_fixRafael Mendonça França2013-11-118-0/+20
|\ \ \ \ | | | | | | | | | | Fix missing line and shadow on static error pages [ci skip]
| * | | | Fix missing line and shadow on static error pages [ci skip]Dmitry Korotkov2013-11-118-0/+20
| |/ / /
* | | | Merge pull request #12842 from kuldeepaggarwal/array_splitGuillermo Iguaran2013-11-111-3/+3
|\ \ \ \ | | | | | | | | | | Speed up Array#split when block is passed
| * | | | Speed up Array#splitKD2013-11-111-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Ruby 2.0.0p247 Rehearsal --------------------------------------- old 10.670000 0.150000 10.820000 ( 10.822651) new 8.520000 0.050000 8.570000 ( 8.571825) ----------------------------- total: 19.390000sec user system total real old 10.620000 0.170000 10.790000 ( 10.790409) new 8.570000 0.110000 8.680000 ( 8.686051)
* | | | | Merge pull request #12841 from kuldeepaggarwal/in-group-documentationYves Senn2013-11-101-1/+1
|\ \ \ \ \ | |_|/ / / |/| | | | Array#in_groups: documentation updated [ci skip]
| * | | | Array#in_groups: documentation updatedKD2013-11-111-1/+1
| | | | |
* | | | | Merge pull request #12839 from kuldeepaggarwal/array_splitGuillermo Iguaran2013-11-102-8/+14
|\ \ \ \ \ | | |/ / / | |/| | | Array#split preserving the calling array
| * | | | Array#split preserving the calling arrayKD2013-11-112-8/+14
| |/ / /
* | | | Merge pull request #12838 from strzalek/remove_mime_type_order_varGuillermo Iguaran2013-11-101-4/+3
|\ \ \ \ | | | | | | | | | | Remove @order attribute from collector
| * | | | Remove order attribute from collectorLukasz Strzalkowski2013-11-101-4/+3
| | | | | | | | | | | | | | | | | | | | Ruby 1.8 legacy. Since 1.9 hash preserves insertion order. No need for additional array to achieve this
* | | | | Merge pull request #12740 from gaurish/patch-1Rafael Mendonça França2013-11-101-2/+4
|\ \ \ \ \ | | | | | | | | | | | | Improve Errors when Controller Name or Action isn't specfied
| * | | | | Improve Errors when Controller Name or Action isn't specfiedGaurish Sharma2013-11-051-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These errors occur when, there routes are wrongly defined. example, the following line would cause a missing :action error root "welcomeindex" Mostly beginners are expected to hit these errors, so lets improve the error message a bit to make their learning experience bit better.
* | | | | | Merge pull request #12749 from iantropov/issue_5303Rafael Mendonça França2013-11-101-0/+4
|\ \ \ \ \ \ | |_|/ / / / |/| | | | | | | | | | | Add test for ActiveRecord::Relation YAML serialization, for #5303 issue
| * | | | | Add test for ActiveRecord::Relation YAML serialization, for #5303 issueIvan Antropov2013-11-031-0/+4
| | | | | |
* | | | | | Merge pull request #10826 from sferik/update_tzinfoAndrew White2013-11-102-1/+6
|\ \ \ \ \ \ | | |_|_|/ / | |/| | | | Update tzinfo
| * | | | | Update tzinfo dependency to ~> 1.1Erik Michaels-Ober2013-11-102-1/+6
|/ / / / / | | | | | | | | | | | | | | | Include the tzinfo-data in the generated Gemfile on Windows.
* | | / / Use the method provided by minitest to make tests order dependentGuillermo Iguaran2013-11-091-4/+2
| |_|/ / |/| | |
* | | | use complete Relation API and not only `Model.all.merge!`.Yves Senn2013-11-091-88/+83
| | | |
* | | | Fixed minor typoJens Dahl Møllerhøj2013-11-091-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | instead of 'rake test' as shortcut, use 'rake'. Closes #12780 [ci skip]
* | | | Change array check for better aesthetics / reading the codeCarlos Antonio da Silva2013-11-091-1/+1
| | | |
* | | | Make the method name the first argumentRafael Mendonça França2013-11-091-7/+7
| | | | | | | | | | | | | | | | | | | | This is the only argument that changes over the method calls so it is better to it be the first one
* | | | Drop one more string allocationRafael Mendonça França2013-11-091-1/+3
| | | |
* | | | Merge pull request #12821 from arunagw/aa-removed-missleading-messageYves Senn2013-11-092-2/+2
|\ \ \ \ | | | | | | | | | | clarified missleading message
| * | | | Changed message for Model.inspectArun Agrawal2013-11-092-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (No database connection) sounds not be able to connect database. see more #12804
* | | | | improve Active Record Store docs when using PG types. [ci skip].Yves Senn2013-11-091-3/+4
| | | | |
* | | | | Require the top file and autoload Base classRafael Mendonça França2013-11-093-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The generators entry point file is rails/generators so we need to make sure uers will be able to use the generators when requiring that file. Fixes #12802
* | | | | type casted PG bytea values are represented as a Hash.Yves Senn2013-11-091-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | This is a follow up to: 97f0d9a0dd12e7ad634815eecfeff866f64aad92 This change is also related to: df0edafac9eb47cd971970a9e7b13a3eaddf214e
* | | | | Document the bind returnRafael Mendonça França2013-11-091-0/+3
| | | | |
* | | | | Avoid shot circuit return.Rafael Mendonça França2013-11-091-8/+20
| | | | | | | | | | | | | | | | | | | | This will make the conditional and to code clear
* | | | | Improve changelogs formatting [ci skip]Carlos Antonio da Silva2013-11-093-22/+22
| | | | |
* | | | | Don't use Active Support where we don't need toRafael Mendonça França2013-11-093-3/+3
| | | | |
* | | | | Fix typo in AR store docs [ci skip]Carlos Antonio da Silva2013-11-091-1/+1
|/ / / /
* | | | Merge pull request #12760 from pseidemann/masterYves Senn2013-11-093-2/+11
|\ \ \ \ | | | | | | | | | | fix simple_format escapes own output when sanitize is set to true