aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/associations.rb
Commit message (Collapse)AuthorAgeFilesLines
...
* removing lolinjectAaron Patterson2010-09-211-1/+1
|
* remove join table rows before removing owner row for habtm associations, ↵Hemant Kumar2010-09-211-1/+1
| | | | fixes#5674
* providing arel with column information when possible [#5392 state:resolved]Aaron Patterson2010-09-211-3/+10
|
* Use new finders syntax in docs.Emilio Tagua2010-09-011-1/+1
|
* lifecycle should be two words, life cycleJaime Iniesta2010-08-261-1/+1
|
* Deletes trailing whitespaces (over text files only find * -type f -exec sed ↵Santiago Pastorino2010-08-141-172/+172
| | | | 's/[ \t]*$//' -i {} \;)
* converting to a symbol is not necessaryAaron Patterson2010-08-131-1/+1
|
* Removing most of the symbol to proc usage in Active RecordPrem Sichanugrist2010-08-131-6/+6
| | | | This will hopefully make Active Record run a bit more faster.
* be more precise re :validate and :autosaveXavier Noria2010-08-121-4/+4
|
* revises some autosave docs, style and contentXavier Noria2010-08-121-2/+1
|
* adding more documentation for autosave optionNeeraj Singh2010-08-091-1/+2
|
* updating documentation for method configure_dependency_for_has_manyNeeraj Singh2010-08-061-8/+5
|
* Merge remote branch 'docrails/master' into 3-0-stableXavier Noria2010-08-031-182/+269
|\
| * ensuring that documentation does not exceed 100 columnsNeeraj Singh2010-08-011-180/+267
| |
| * fixing documentation just a little bitNeeraj Singh2010-07-311-2/+2
| |
* | Remove duplicated logic.José Valim2010-08-021-7/+9
| |
* | Eager loading an association should not change the count of childrenNeeraj Singh2010-08-021-0/+4
| | | | | | | | | | | | [#4971 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* | Tidy up previous commit.José Valim2010-08-021-3/+3
| |
* | test and fix collection_singular_ids= with string primary keys [#5125 ↵Robert Pankowecki2010-08-021-1/+3
| | | | | | | | | | | | state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* | Add an internal (private API) after_touch callback. [#5271 state:resolved]José Valim2010-08-021-0/+1
|/
* removed ambiguity from autosave descriptionSimon Tokumine2010-07-281-1/+1
|
* Added missing require of remove_methodŁukasz Strzałkowski2010-07-191-0/+1
|
* Make use of redefine_method, removed some more redefining warningsŁukasz Strzałkowski2010-07-191-27/+12
|
* Removed warnings about method redefiningŁukasz Strzałkowski2010-07-191-9/+24
|
* JoinDependency#graft does not properly set parent join [#5124 state:resolved]David Genord II2010-07-161-1/+1
| | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* clean up ||= with an initialized variable and attr_readerAaron Patterson2010-07-141-5/+2
|
* Merge remote branch 'docrails/master'Xavier Noria2010-07-071-0/+4
|\
| * added more info about << operation in associationsNeeraj Singh2010-07-061-0/+4
| |
* | documents automatic management of join models in hmt associations, in ↵Xavier Noria2010-07-061-4/+11
|/ | | | particular the gotcha that deletion is direct
* Improve documentation for assocations :autosave option.Edgars Beigarts2010-06-221-4/+12
|
* Merge remote branch 'rails/master'Xavier Noria2010-06-201-1/+1
|\ | | | | | | | | Conflicts: actionpack/lib/abstract_controller/base.rb
| * remove executable permission from files that don't need it. [#4802 ↵rohit2010-06-201-0/+0
| | | | | | | | | | | | state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
| * ActiveRecord and ActionPack now use the new descendants implementation.José Valim2010-06-191-1/+1
| |
* | Active Record Associations - minor change of DeleteRestrictionError doc for ↵Bryan Woods2010-06-151-1/+1
| | | | | | | | clarity
* | Fix a bunch of minor spelling mistakesEvgeniy Dolzhenko2010-06-151-5/+5
|\ \ | |/ |/|
| * Fix a bunch of minor spelling mistakesEvgeniy Dolzhenko2010-06-111-5/+5
| |
* | edit pass: the names of Rails components have a space, ie, "Active Record", ↵Xavier Noria2010-06-141-2/+2
|/ | | | not "ActiveRecord"
* Fix multiple self-referencing eager loads failing to join multiple timesErnie Miller2010-06-081-2/+2
| | | | | | [#4679 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Merge remote branch 'rsim/oracle_enhanced_rails3'wycats2010-06-071-1/+2
|\
| * Downcase quoted table name in regex in count_aliases_from_table_joinsRaimonds Simanovskis2010-06-041-1/+2
| | | | | | | | Oracle adapter's quote_table_name returns quoted table name in uppercase and therefore it should be downcased before scanning downcased join_sql
* | Require active support/string/conversions so constantize can be used in ↵Tom Meier2010-06-071-0/+1
|/ | | | | | associations.rb Signed-off-by: José Valim <jose.valim@gmail.com>
* refactor evals and adds some __FILE__ and __LINE__Santiago Pastorino2010-05-201-2/+2
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Merge branch 'master' of git://github.com/rails/railsRizwan Reza2010-05-171-1/+1
|\
| * Fix for get_ids when including a belongs_to association on a has_many ↵Diego Algorta2010-05-151-1/+1
| | | | | | | | | | | | association [#2896 state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* | better documentation for dependent option [#4564 state:resolved]Neeraj Singh2010-05-161-4/+5
|/
* eliminate alias_method_chain from ActiveRecordwycats2010-05-091-8/+8
|
* Fix eager loading of associations causing table name collisionsErnie Miller2010-04-281-17/+60
| | | | | | [#4463 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Destroy respects optimistic locking.Curtis Hawthorne2010-04-271-1/+10
| | | | | | | | | | Now works with :dependent => :destroy and includes unit tests for that case. Also includes better error messages when updating/deleting stale objects. [#1966 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Avoid deprecated String#to_a by using Array.wrap(...) instead of Array(...)Jeremy Kemper2010-04-101-3/+4
|
* Bring back +extra_conditions+. This effectively reverts ↵Carl Lerche2010-04-031-3/+3
| | | | 386b7bfd9d78a6d8c8bc7cc4a310df806ad0ba57