Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Replace deprecated readonly option with scope blocks in docs and guide | Konstantinos Rousis | 2015-02-18 | 1 | -3/+2 |
| | |||||
* | Merge branch 'master' of github.com:rails/docrails | Vijay Dev | 2015-02-14 | 1 | -6/+6 |
|\ | |||||
| * | [ci skip] Add some more code highlights. | Juanito Fatas | 2015-02-10 | 1 | -5/+5 |
| | | |||||
| * | [ci skip] Add a missing space in t.belongs_to argument. | Juanito Fatas | 2015-01-29 | 1 | -1/+1 |
| | | |||||
* | | Add Single Table Inheritance to guides [ci skip] | Andrey Nering | 2015-01-31 | 1 | -0/+64 |
|/ | |||||
* | - Changed `IN` to `ON` in markdown renderer condition | Vipul A M | 2015-01-14 | 1 | -1/+1 |
| | | | | - Changed `IN` to `ON` in all note sentences in guides. | ||||
* | Minor documentation edits [ci skip] | Robin Dupret | 2014-12-28 | 1 | -0/+1 |
| | |||||
* | warn about reading guides in GitHub | Xavier Noria | 2014-12-23 | 1 | -0/+2 |
| | | | | References #18148. | ||||
* | You need to specify the counter_cache option on the has_many side of the ↵ | Steve Lounsbury | 2014-12-16 | 1 | -1/+7 |
| | | | | association when using a custom counter cache column. This is documented on the has_many association here: http://apidock.com/rails/ActiveRecord/Associations/ClassMethods/has_many [ci skip] | ||||
* | Add `null` option to timestamps as migration generator does [ci skip] | Zachary Scott | 2014-12-14 | 1 | -19/+19 |
| | |||||
* | [ci skip] Remove outdate note of :dependent | Aaron Huang | 2014-11-28 | 1 | -2/+0 |
| | |||||
* | [ci skip] Fix some typos, normalize sentence. | Juanito Fatas | 2014-09-08 | 1 | -7/+7 |
| | | | | | | | | Follow up of #16722. https://github.com/rails/rails/pull/16722 also normalize all instance gained methods’ sentence. | ||||
* | Merge pull request #16722 from yui-knk/fix/guides_association_basics2 | Rafael Mendonça França | 2014-08-27 | 1 | -4/+4 |
|\ | | | | | [ci skip] Fix typo of `collection_singular_ids=` method. | ||||
| * | [ci skip] Fix typo of `collection_singular_ids=` method. | yui-knk | 2014-08-27 | 1 | -4/+4 |
| | | |||||
* | | [ci skip] Fix typo of `collection=` method. | yui-knk | 2014-08-27 | 1 | -4/+4 |
|/ | |||||
* | adding indexes on tables in migration scripts | Matt Warren | 2014-07-24 | 1 | -11/+20 |
| | | | | | | | | missed one migration script in last commit remove some empty lines using the belongs_to index option to be more concise | ||||
* | correct markdown usage [ci skip] | Nishant Modak | 2014-07-09 | 1 | -6/+6 |
| | |||||
* | Rename Posts to Articles in Guides, continuation of 2d446e77 / #13774 [ci skip] | John Kelly Ferguson | 2014-05-21 | 1 | -20/+20 |
| | |||||
* | [ci skip] Use plain underscore instead of "\_". | Juanito Fatas | 2014-04-13 | 1 | -1/+1 |
| | |||||
* | Updated association_basics.md [ci skip] | Rohit Paul Kuruvilla | 2014-01-31 | 1 | -0/+13 |
| | | | | | | | | | | | | | | Updated association_basics.md to include how to write migrations for self joins Update association_basics.md Corrected the update Update association_basics.md Typo fix Changed :employee to :manager | ||||
* | updating options documentation for associations | Kuldeep Aggarwal | 2013-11-29 | 1 | -1/+5 |
| | | | | removed unnecessary test case and improved test case for belongs_to having invalid options | ||||
* | [ci skip] Fix number of methods added by association. | Juanito Fatas | 2013-10-17 | 1 | -8/+8 |
| | | | | Also clean up some trailing spaces on line 1143-1146. | ||||
* | added "id: false" to HABTM join table example | Ofer Nave | 2013-09-24 | 1 | -1/+1 |
| | | | Based on the instructions further down in section 3.3.2. | ||||
* | Fix the model name in the association basics guides | Rafael Mendonça França | 2013-09-23 | 1 | -1/+4 |
| | | | [ci skip] | ||||
* | cleans the guides sources from fancy non-ASCII stuff | Xavier Noria | 2013-08-23 | 1 | -2/+2 |
| | |||||
* | Added comment to a guide about necessity of `:dependent` option for ↵ | Ilya Vorontsov | 2013-08-12 | 1 | -0/+6 |
| | | | | associations with NOT NULL constraint | ||||
* | [Fixes #11734]Correct Association Basics Guide on has_and_belongs_to_many[ci ↵ | Gaurish Sharma | 2013-08-03 | 1 | -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 Dawson | 2013-07-11 | 1 | -1/+1 |
| | |||||
* | Using preferred find_by syntax in guides | Cristian Planas | 2013-07-01 | 1 | -1/+1 |
| | |||||
* | fix quotes and ruby old hashes | Mikhail Dieterle | 2013-06-15 | 1 | -4/+4 |
| | |||||
* | Use markdown quotes instead <tt> tag | Mikhail Dieterle | 2013-06-15 | 1 | -5/+5 |
| | |||||
* | Added bang method versions to association basics guide | Matthew Hensrud | 2013-06-07 | 1 | -1/+25 |
| | |||||
* | End-of-line whitespace hunt | Sunny Ripert | 2013-05-28 | 1 | -12/+12 |
| | |||||
* | Added an example for primary_key option | Neeraj Singh | 2013-05-22 | 1 | -0/+14 |
| | |||||
* | Adding documentation to the automatic inverse_of finder. | wangjohn | 2013-05-11 | 1 | -0/+11 |
| | |||||
* | Changed the guides to use distinct instead of uniq for associations (see | wangjohn | 2013-04-02 | 1 | -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 plural | Chao Ren | 2013-03-23 | 1 | -1/+1 |
| | |||||
* | Typppo | Akira Matsuda | 2013-03-06 | 1 | -2/+2 |
| | |||||
* | Add explanation of :dependent => :restrict | David Deller | 2013-03-01 | 1 | -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ça | 2012-12-13 | 1 | -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 Castillo | 2012-12-13 | 1 | -0/+130 |
| | | |||||
* | | Punctuation, capitalization, grammar fixes in rails guides | Katie Oldaker | 2012-12-07 | 1 | -1/+1 |
| | | |||||
* | | Fixed grammar in a lot of guide prologues. | Katie Oldaker | 2012-12-07 | 1 | -3/+3 |
|/ | |||||
* | Normalize on 'After reading this guide, you will know:' | Steve Klabnik | 2012-11-29 | 1 | -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 Klabnik | 2012-11-29 | 1 | -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 Klabnik | 2012-11-29 | 1 | -3/+3 |
| | | | | Talked with @fxn about this. Bullet points should have periods at the ends. | ||||
* | copy edits and fixes [ci skip] | Vijay Dev | 2012-11-17 | 1 | -1/+1 |
| | |||||
* | Switch to 1.9 hash syntax plus minor fixes | Agis Anastasopoulos | 2012-11-15 | 1 | -93/+93 |
| | |||||
* | use em-dashes instead of two minuses in guides | burningTyger | 2012-11-10 | 1 | -1/+1 |
| | |||||
* | Revert "Change with start of translation in internationalization, this time ↵ | Rafael Mendonça França | 2012-10-17 | 1 | -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 |