aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | fix CollectionProxy#<< documentationFrancesco Rodriguez2012-05-191-1/+1
| | | |
| * | | add CollectionProxy#<< documentationFrancesco Rodriguez2012-05-191-0/+20
| | | |
| * | | add CollectionProxy#clear documentationFrancesco Rodriguez2012-05-191-0/+26
| | | |
| * | | add CollectionProxy#include? documentationFrancesco Rodriguez2012-05-181-0/+13
| | | |
| * | | You can add a custom primary key to a tableAvi Tzurel2012-05-191-0/+5
| | | |
| * | | move docs from CollectionAssociation to CollectionProxyFrancesco Rodriguez2012-05-182-114/+143
| | | |
| * | | add explanation of raising errors when a limit scope is supplied in ↵Francesco Rodriguez2012-05-181-11/+11
| | | | | | | | | | | | | | | | Relation#delete_all
| * | | Fix typo.Peter Suschlik2012-05-181-1/+1
| | | |
| * | | remove incorrect example of CollectionAssociation#empty?Francesco Rodriguez2012-05-181-17/+0
| | | |
| * | | add docs to CollectionAssociation#empty?Francesco Rodriguez2012-05-181-3/+32
| | | |
| * | | add docs to CollectionAssociation#any?Francesco Rodriguez2012-05-181-0/+30
| | | |
| * | | add examples to CollectionAssociation#concatFrancesco Rodriguez2012-05-181-3/+14
| | | |
| * | | fix CollectionAssociation docsFrancesco Rodriguez2012-05-171-1/+1
| | | |
| * | | add example to CollectionAssociation#destroy_allFrancesco Rodriguez2012-05-171-3/+14
| | | |
| * | | add more explanation to CollectionAssociation docsFrancesco Rodriguez2012-05-171-0/+4
| | | |
| * | | add CollectionAssociation hierarchyFrancesco Rodriguez2012-05-171-2/+7
| | | |
| * | | add docs to CollectionAssociation#many?Francesco Rodriguez2012-05-171-1/+34
| | | |
| * | | fix CollectionAssociation#replace docsFrancesco Rodriguez2012-05-171-3/+3
| | | |
| * | | Add docs to CollectionAssociation#replaceFrancesco Rodriguez2012-05-171-3/+23
| | | |
* | | | Merge pull request #4835 from ↵Carlos Antonio da Silva2012-05-191-3/+3
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | pacoguzman/refactor_define_restrict_dependency_method Refactor define_restrict_dependency_method using reflection
| * | | | Refactor define_restrict_dependency_method using reflectionPaco Guzman2012-02-011-3/+3
| | | | |
* | | | | Ensure that CollectionAssociation#replace returns proper targetPiotr Sarnacki2012-05-191-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The fix commited in e2a070c was returning the `new_target`, as a try to return whatever user replaced association with. The problem is, the resulting association target may be ordered differently. In such case we want to return the target that will be later used for that association.
* | | | | Merge pull request #6376 from jgaskins/timestamp-microsecondsJeremy Kemper2012-05-181-1/+1
|\ \ \ \ \ | | | | | | | | | | | | Increase numeric-timestamp precision to nanoseconds
| * | | | | Increase `AR#cache_key` precision to nanosecondsJamie Gaskins2012-05-191-1/+1
| | | | | |
* | | | | | fix #delete_all with habtm with :delete_sqlJon Leighton2012-05-181-0/+1
| | | | | |
* | | | | | no longer need #delete_all_on_destroyJon Leighton2012-05-185-17/+2
| | | | | |
* | | | | | Perf: Don't load the association for #delete_all.Jon Leighton2012-05-184-10/+35
| |_|_|_|/ |/| | | | | | | | | | | | | | Bug #6289
* | | | | Merge pull request #6382 from oscardelben/refactor_migration_generatorJosé Valim2012-05-181-6/+3
|\ \ \ \ \ | |/ / / / |/| | | | Refactor migration generator
| * | | | Refactor migration generatorOscar Del Ben2012-05-181-6/+3
| | | | |
* | | | | Merge pull request #6238 from pwnall/pgsql_bytea_limitAaron Patterson2012-05-171-8/+19
|\ \ \ \ \ | | | | | | | | | | | | Postgresql doesn't accept limits on binary (bytea) columns.
| * | | | | Postgresql doesn't accept limits on binary (bytea) columns.Victor Costan2012-05-091-8/+19
| | | | | |
* | | | | | Don't destroy readonly modelsJohannes Barre2012-05-171-0/+1
| | | | | |
* | | | | | Merge pull request #6058 from ↵Jon Leighton2012-05-172-6/+31
|\ \ \ \ \ \ | |_|_|_|/ / |/| | | | | | | | | | | | | | | | | RStankov/relation-from-to-accept-other-relation-objects Relation#from to accept other Relation objects
| * | | | | Relation#from to accept other Relation objectsRadoslav Stankov2012-05-172-6/+31
| | | | | | | | | | | | | | | | | | | | | | | | Record.from("(#{sub_query.to_sql})") -> Record.from(sub_query) Record.from("(#{sub_query.to_sql}) a") -> Record.from(sub_query, :a)
* | | | | | Merge branch 'master' of github.com:lifo/docrailsVijay Dev2012-05-173-3/+3
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: activerecord/lib/active_record/core.rb
| * | | | | | Revert "Update docs in sqlite3 adapter"Vijay Dev2012-05-171-12/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 8d7c38b858b0190ac56998f4a4baba250eaf1e4e. Reason: Lot of the additions aren't adding value. [ci skip]
| * | | | | | Fix typos in docs for ActiveRecord::Core::arel_table [ci skip]Mark Rushakoff2012-05-161-3/+1
| | | | | | |
| * | | | | | Update AR has_one association exampleAlexey Vakhov2012-05-161-1/+1
| | | | | | |
| * | | | | | Update docs in sqlite3 adapterOscar Del Ben2012-05-151-12/+12
| | | | | | |
| * | | | | | Merge pull request #99 from GRoguelon/masterVijay Dev2012-05-151-1/+1
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | Fix an error in methods example of instanciated fixtures.
| | * | | | | | Fix an error in example in methods of instanciated fixtures.Geoffrey Roguelon2012-05-151-1/+1
| | | | | | | |
| * | | | | | | Fix typo [ci skip]Peter Suschlik2012-05-151-1/+1
| | | | | | | |
* | | | | | | | Merge pull request #5453 from ↵Aaron Patterson2012-05-161-2/+6
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | JonRowe/patch_uniq_has_and_belongs_to_many_when_already_loaded When Active Record has already loaded a unique association `.size` returns the wrong number.
| * | | | | | | | when using a preloaded array and the uniq flag is set then return the size ↵Jon Rowe2012-03-151-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | of the uniq array
* | | | | | | | | Merge pull request #6358 from jfirebaugh/schema_defineAaron Patterson2012-05-161-7/+10
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | Call methods on the correct instance in AR::Schema.define
| * | | | | | | | | Call methods on the correct instance in AR::Schema.defineJohn Firebaugh2012-05-161-7/+10
| | |_|_|/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Now that migrations support instance methods, we should use the same instance rather than relying on delegation to a global instance. This allows subclassing AR::Schema.
* | | | | | | | | Fix CollectionAssociation#replace to return new target (closes #6231)Piotr Sarnacki2012-05-161-0/+2
| | | | | | | | |
* | | | | | | | | Merge pull request #6192 from ↵Aaron Patterson2012-05-163-7/+65
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | danmcclain/add_inet_and_cidr_types_to_postgresql_adapter Add support for macaddr, inet, and cidr types to PostgreSQL adapter
| * | | | | | | | | Removes NetAddr dependencyDan McClain2012-05-081-6/+7
| | | | | | | | | |
| * | | | | | | | | Converts inet and cidr columns to NetAddr::CIDRDan Seaver2012-05-073-3/+41
| | | | | | | | | |