aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
Commit message (Collapse)AuthorAgeFilesLines
* Do not calculate values if they are not going to be usedCarlos Antonio da Silva2013-03-301-7/+9
| | | | | | | | | When building the indexes list in PostgreSQL, IndexDefinition objects are only created if the query for the related attributes really returns something matching the attributes. In case it does not, the variables for building the definition objects were being created but not used.
* Make docs a little bit more consistent with colons [ci skip]Carlos Antonio da Silva2013-03-301-9/+9
|
* Fix code examples indent in new index options docs [ci skip]Carlos Antonio da Silva2013-03-301-3/+3
|
* Use new hash style in doc examples [ci skip]Carlos Antonio da Silva2013-03-301-2/+2
|
* Minor reviews in AR changelog [ci skip]Carlos Antonio da Silva2013-03-301-10/+10
|
* Merge pull request #10003 from tkhr/refactor-scoping-test-filesCarlos Antonio da Silva2013-03-303-330/+333
|\ | | | | Reorganize scoping test files
| * split relation_scoping_test.rb's default scoping tests into another fileTakehiro Adachi2013-03-302-357/+360
| |
| * rename named_scope_test.rb to a proper file nameTakehiro Adachi2013-03-301-1/+1
| | | | | | | | | | The file name should be name_scoping_test.rb and the class should be `NamedScopingTest` according to ActiveRecord::Scoping::Name
| * move tests for NamedScope and DefaultScope under test/cases/scoping/Takehiro Adachi2013-03-302-0/+0
| | | | | | | | | | | | The scoping/default.rb and scoping/named.rb got moved under scoping/ in commit 2b22564c4efaa63d4bbc006762838c4025c1bdca, but the tests never did.
* | Merge branch 'master' of github.com:lifo/docrailsVijay Dev2013-03-3010-37/+62
|\ \ | |/ |/| | | | | | | | | | | | | Conflicts: activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb activerecord/test/cases/adapter_test.rb guides/source/testing.md [ci skip]
| * explain method invertible_for [ci skip]Neeraj Singh2013-03-291-1/+2
| |
| * Fixed typo : contraints -> constraintsPrathamesh Sonpatki2013-03-231-2/+2
| |
| * Fix typoCarson McDonald2013-03-221-1/+1
| | | | | | | | [ci skip]
| * Fix typo, ording to orderingCarson McDonald2013-03-181-1/+1
| | | | | | | | [ci skip]
| * nodoc AR::ConnectionHandling for adapters [ci skip]Francesco Rodriguez2013-03-155-12/+12
| |
| * Unmatched parenthesis fixRobin Dupret2013-03-151-1/+1
| |
| * make the headers consistentWaynn Lue2013-03-141-2/+2
| |
| * Fix my typoAlexey Muranov2013-03-121-1/+1
| |
| * Align indentation in commentsAlexey Muranov2013-03-121-15/+15
| |
| * Document nested attributes as hash of hashesAlexey Muranov2013-03-121-2/+26
| | | | | | Document the possibility to use a hash of hashes for nested attributes for a one-to-many association (in addition to the documented possibility to use an array of hashes).
| * Uniq cannot be used directly on an ActiveRecord model. 'DISTINCT field' is ↵Daniel Lobato2013-03-121-1/+1
| | | | | | | | the only pluck query that translates into the aforementioned SQL
| * Minor copy editingNeeraj Singh2013-03-111-4/+4
| |
* | Do not use deprecate method [ci skip]Neeraj Singh2013-03-291-1/+1
| |
* | fix broken sentence [ci skip]Neeraj Singh2013-03-291-1/+1
| |
* | removes activerecord/examples/associations.pngXavier Noria2013-03-291-0/+0
| | | | | | | | This seems to be a legacy file, I cannot find any place where it is used.
* | Merge pull request #9984 from ranjaykrishna/col-probRafael Mendonça França2013-03-283-4/+8
|\ \ | | | | | | valid_type? added to super class abstract_adapter
| * | added comments to test_invalid_type in sqlite3 adapter test and added ↵Ranjay Krishna2013-03-283-4/+8
| | | | | | | | | | | | valid_type? method to abstract_adapter.rb and removed unnecessary method from sqlite3 adapter
* | | anual_salary => annual_salaryVipul A M2013-03-281-3/+3
|/ /
* | Merge pull request #9972 from divineforest/fix-overriden-typoRafael Mendonça França2013-03-284-5/+5
|\ \ | | | | | | Fix typo: overriden => overriDDen
| * | Fix typo: overriden => overriDDenAlexander Balashov2013-03-284-5/+5
| | |
* | | Fixed typos in ActiveRecordPrathamesh Sonpatki2013-03-283-5/+5
| | |
* | | Merge pull request #9970 from divineforest/fix-typoRafael Mendonça França2013-03-281-1/+1
|\ \ \ | | | | | | | | Fix typo
| * | | Fix typoAlexander Balashov2013-03-281-1/+1
| |/ /
* | | Use snake case variable names, stick with the conventionCarlos Antonio da Silva2013-03-281-13/+13
| | |
* | | Merge pull request #9963 from obrie/fix/after_create_updatesCarlos Antonio da Silva2013-03-282-1/+17
|\ \ \ | |/ / |/| | Fix updates not working within after_create hooks
| * | Fix updates not working within after_create hooksAaron Pfeifer2013-03-272-1/+17
| | |
* | | Add support for FULLTEXT and SPATIAL indexes using the :type flag for MySQL.Ken Mazaika2013-03-2713-37/+108
| | |
* | | Dump the 'using' options for a SQL index into the schema.Ken Mazaika2013-03-273-2/+11
|/ /
* | Fix syntax errorRafael Mendonça França2013-03-271-1/+0
| |
* | Merge pull request #9274 from KrzysiekJ/spaces_in_scope_namesRafael Mendonça França2013-03-272-5/+17
|\ \ | | | | | | | | | Use define_method when method name contains weird characters.
| * | Use define_method when method name contains weird characters.Krzysztof Jurewicz2013-03-182-5/+17
| | |
* | | entirelyby => 'entirely by'Neeraj Singh2013-03-271-1/+1
| | |
* | | Merge pull request #9949 from vipulnsward/drop_yaml_error_constantRafael Mendonça França2013-03-272-4/+2
|\ \ \ | | | | | | | | drop errors constant
| * | | drop errors constantVipul A M2013-03-272-4/+2
| | | |
* | | | Fixed typos in activerecordPrathamesh Sonpatki2013-03-275-5/+5
| | | |
* | | | Merge pull request #8368 from SamSaffron/masterRafael Mendonça França2013-03-273-3/+75
|\ \ \ \ | |/ / / |/| | | Allow connection_handler to be overriden per-thread
| * | | Make connection_handler overridable per threadSam Saffron2013-03-273-3/+75
| | | |
* | | | drop variable assignment in validationsVipul A M2013-03-271-2/+1
|/ / /
* | | Merge pull request #9876 from macksmind/restore_cols_dropped_by_hstore_testRafael Mendonça França2013-03-261-15/+5
|\ \ \ | | | | | | | | Restore columns dropped by hstore test
| * | | Combine tests and restore columns dropped by hstore testingMack Earnhardt2013-03-261-15/+5
| | | | | | | | | | | | | | | | | | | | Disabling the hstore extension during testing created order dependent test failures.