aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source/association_basics.md
Commit message (Collapse)AuthorAgeFilesLines
...
* [ci skip] Fix number of methods added by association.Juanito Fatas2013-10-171-8/+8
| | | | Also clean up some trailing spaces on line 1143-1146.
* added "id: false" to HABTM join table exampleOfer Nave2013-09-241-1/+1
| | | Based on the instructions further down in section 3.3.2.
* Fix the model name in the association basics guidesRafael Mendonça França2013-09-231-1/+4
| | | [ci skip]
* cleans the guides sources from fancy non-ASCII stuffXavier Noria2013-08-231-2/+2
|
* Added comment to a guide about necessity of `:dependent` option for ↵Ilya Vorontsov2013-08-121-0/+6
| | | | associations with NOT NULL constraint
* [Fixes #11734]Correct Association Basics Guide on has_and_belongs_to_many[ci ↵Gaurish Sharma2013-08-031-2/+3
| | | | | | | | | | skip] Done the following changes: 1. Replace uniq call in example with autosave as uniq is not supported on has_and_belongs_to_many 2. Add :readonly option to list of supported call as per [EdgeApi](http://edgeapi.rubyonrails.org/classes/ActiveRecord/Associations/ClassMethods.html#method-i-has_and_belongs_to_many)
* Fix a grammatical error/typo in Active Record Associations guide.Daniel Dawson2013-07-111-1/+1
|
* Using preferred find_by syntax in guidesCristian Planas2013-07-011-1/+1
|
* fix quotes and ruby old hashesMikhail Dieterle2013-06-151-4/+4
|
* Use markdown quotes instead <tt> tagMikhail Dieterle2013-06-151-5/+5
|
* Added bang method versions to association basics guideMatthew Hensrud2013-06-071-1/+25
|
* End-of-line whitespace huntSunny Ripert2013-05-281-12/+12
|
* Added an example for primary_key optionNeeraj Singh2013-05-221-0/+14
|
* Adding documentation to the automatic inverse_of finder.wangjohn2013-05-111-0/+11
|
* Changed the guides to use distinct instead of uniq for associations (seewangjohn2013-04-021-6/+30
| | | | | | commit a1bb6c8b which changes the naming). I've also provided an example of how distinctness when inserting into an association can be achieved.
* Typo: Migration class name would use pluralChao Ren2013-03-231-1/+1
|
* TypppoAkira Matsuda2013-03-061-2/+2
|
* Add explanation of :dependent => :restrictDavid Deller2013-03-011-1/+1
| | | Based on information here: http://api.rubyonrails.org/classes/ActiveRecord/Associations/ClassMethods.html#method-i-has_many
* Merge pull request #8432 from ↵Rafael Mendonça França2012-12-131-0/+130
|\ | | | | | | | | | | | | rmcastil/add_migration_example_to_each_association_type Add migration examples to Association Basics [ci skip]
| * Add migration example to Association Basics [ci skip]Ryan Castillo2012-12-131-0/+130
| |
* | Punctuation, capitalization, grammar fixes in rails guidesKatie Oldaker2012-12-071-1/+1
| |
* | Fixed grammar in a lot of guide prologues.Katie Oldaker2012-12-071-3/+3
|/
* Normalize on 'After reading this guide, you will know:'Steve Klabnik2012-11-291-1/+3
| | | | | We have three or four different introduction sentences to the guides. After this commit, we use the same one everywhere.
* Associations: s/A Guide//Steve Klabnik2012-11-291-2/+2
| | | | It's obvious that this is a guide, and none of the other guides say 'A Guide to'.
* Add periods to the bullet points in guides.Steve Klabnik2012-11-291-3/+3
| | | | Talked with @fxn about this. Bullet points should have periods at the ends.
* copy edits and fixes [ci skip]Vijay Dev2012-11-171-1/+1
|
* Switch to 1.9 hash syntax plus minor fixesAgis Anastasopoulos2012-11-151-93/+93
|
* use em-dashes instead of two minuses in guidesburningTyger2012-11-101-1/+1
|
* Revert "Change with start of translation in internationalization, this time ↵Rafael Mendonça França2012-10-171-5/+5
| | | | | | | | | | | with pt_br." This reverts commit 09682e9e7328b1c1466ae87af08f1785a0b5d7e3. Conflicts: guides/source/en/association_basics.md REASON: Translation work can not be done in the docrails repository
* Revert "divided into folder with the language"Rafael Mendonça França2012-10-171-0/+1997
| | | | | | This reverts commit f5b9ed4fbc3215a5fce48985ea372ad3f1182252. REASON: Translation work can not be done in the docrails repository
* divided into folder with the languageRodrigo Martins2012-10-171-1997/+0
|
* Add CollectionAssociation#destroy to association guideSamuel Cochran2012-10-051-0/+23
|
* Fix broken and duplicate headingsPrem Sichanugrist2012-09-171-2/+2
|
* Fix remaining formatting problems in the guidePrem Sichanugrist2012-09-171-120/+120
|
* Convert image tags to Markdown syntaxPrem Sichanugrist2012-09-171-7/+7
|
* Convert all the links into Markdown formatPrem Sichanugrist2012-09-171-4/+4
|
* Convert all inline codes to Markdown syntaxPrem Sichanugrist2012-09-171-354/+354
|
* Convert inline code tags to MarkdownPrem Sichanugrist2012-09-171-121/+121
|
* Convert heading tags and heading sectionPrem Sichanugrist2012-09-171-149/+154
|
* Convert code blocks into GFM stylePrem Sichanugrist2012-09-171-246/+246
|
* Rename the rest of the guides to MarkdownPrem Sichanugrist2012-09-171-0/+1969