Commit Graph

31 Commits

Author SHA1 Message Date
Matthew Hensrud
f1d453b4fd Added bang method versions to association basics guide 2013-06-07 17:37:02 -04:00
Sunny Ripert
666d028bb8 End-of-line whitespace hunt 2013-05-28 14:38:01 +02:00
Neeraj Singh
54ce21ee8d Added an example for primary_key option 2013-05-22 10:37:37 -04:00
wangjohn
346cda4f34 Adding documentation to the automatic inverse_of finder. 2013-05-11 23:05:36 -04:00
wangjohn
de12a6a0ef Changed the guides to use distinct instead of uniq for associations (see
commit a1bb6c8b which changes the naming). I've also provided an
example of how distinctness when inserting into an association can be
achieved.
2013-04-02 14:48:42 -04:00
Chao Ren
a2bb6720fd Typo: Migration class name would use plural 2013-03-23 20:57:14 -07:00
Akira Matsuda
2fb1cdd0a5 Typppo 2013-03-06 03:56:36 +09:00
David Deller
b7d50f352f Add explanation of :dependent => :restrict
Based on information here: http://api.rubyonrails.org/classes/ActiveRecord/Associations/ClassMethods.html#method-i-has_many
2013-03-01 18:05:18 -05:00
Rafael Mendonça França
c5fb487965 Merge pull request #8432 from rmcastil/add_migration_example_to_each_association_type
Add migration examples to Association Basics

[ci skip]
2012-12-13 09:44:13 -08:00
Ryan Castillo
312234c578 Add migration example to Association Basics [ci skip] 2012-12-13 12:27:39 -05:00
Katie Oldaker
fc6336d1be Punctuation, capitalization, grammar fixes in rails guides 2012-12-07 16:32:06 -05:00
Katie Oldaker
7c05ea23a0 Fixed grammar in a lot of guide prologues. 2012-12-07 12:50:09 -05:00
Steve Klabnik
d16a1b9e8b Normalize on 'After reading this guide, you will know:'
We have three or four different introduction sentences to the guides.
After this commit, we use the same one everywhere.
2012-11-29 14:25:02 -08:00
Steve Klabnik
87b5d53e2f Associations: s/A Guide//
It's obvious that this is a guide, and none of the other guides say 'A Guide to'.
2012-11-29 05:27:09 -08:00
Steve Klabnik
6dcae8ae9c Add periods to the bullet points in guides.
Talked with @fxn about this. Bullet points should have periods at the ends.
2012-11-29 05:14:08 -08:00
Vijay Dev
1fd008cd44 copy edits and fixes [ci skip] 2012-11-17 01:42:38 +05:30
Agis Anastasopoulos
4ce16908c3 Switch to 1.9 hash syntax plus minor fixes 2012-11-15 23:47:02 +02:00
burningTyger
8dabfbebdb use em-dashes instead of two minuses in guides 2012-11-10 23:00:00 +01:00
Rafael Mendonça França
759e797c1d Revert "Change with start of translation in internationalization, this time 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
2012-10-17 10:19:31 -03:00
Rafael Mendonça França
9eeb00976d Revert "divided into folder with the language"
This reverts commit f5b9ed4fbc3215a5fce48985ea372ad3f1182252.

REASON: Translation work can not be done in the docrails repository
2012-10-17 10:15:55 -03:00
Rodrigo Martins
f5b9ed4fbc divided into folder with the language 2012-10-17 03:34:10 -03:00
Samuel Cochran
2e05146c78 Add CollectionAssociation#destroy to association guide 2012-10-05 14:25:20 +08:00
Prem Sichanugrist
fd56c3a72e Fix broken and duplicate headings 2012-09-17 15:55:17 -04:00
Prem Sichanugrist
721afdcc4b Fix remaining formatting problems in the guide 2012-09-17 15:54:23 -04:00
Prem Sichanugrist
2e89ac34cf Convert image tags to Markdown syntax 2012-09-17 15:54:23 -04:00
Prem Sichanugrist
9873dd800b Convert all the links into Markdown format 2012-09-17 15:54:23 -04:00
Prem Sichanugrist
31ef4cf656 Convert all inline codes to Markdown syntax 2012-09-17 15:54:23 -04:00
Prem Sichanugrist
c89c163a0e Convert inline code tags to Markdown 2012-09-17 15:54:22 -04:00
Prem Sichanugrist
872b7af337 Convert heading tags and heading section 2012-09-17 15:54:22 -04:00
Prem Sichanugrist
7bc1ca3515 Convert code blocks into GFM style 2012-09-17 15:54:22 -04:00
Prem Sichanugrist
5137d03cc5 Rename the rest of the guides to Markdown 2012-09-17 15:54:22 -04:00