mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Getting started guide: typos and changelog
This commit is contained in:
parent
1dddc79fee
commit
cf69a01079
1 changed files with 2 additions and 1 deletions
|
@ -1193,7 +1193,7 @@ The +destroy+ action will find the post we are looking at, locate the comment wi
|
|||
|
||||
h4. Deleting Associated Objects
|
||||
|
||||
If you delete a post then it's associated comments will also need to be deleted. Otherwise they would simply occupy space in the database. Rails allows you to use the +dependent+ option of an association to achieve this. Modify the Post model, +app/models/post.rb+, as follows:
|
||||
If you delete a post then its associated comments will also need to be deleted. Otherwise they would simply occupy space in the database. Rails allows you to use the +dependent+ option of an association to achieve this. Modify the Post model, +app/models/post.rb+, as follows:
|
||||
|
||||
<ruby>
|
||||
class Post < ActiveRecord::Base
|
||||
|
@ -1485,6 +1485,7 @@ h3. Changelog
|
|||
|
||||
"Lighthouse ticket":http://rails.lighthouseapp.com/projects/16213-rails-guides/tickets/2
|
||||
|
||||
* July 12, 2010: Fixes, editing and updating of code samples by "Jaime Iniesta":http://jaimeiniesta.com
|
||||
* May 16, 2010: Added a section on configuration gotchas to address common encoding problems that people might have by "Yehuda Katz":http://www.yehudakatz.com
|
||||
* April 30, 2010: Fixes, editing and updating of code samples by "Rohit Arondekar":http://rohitarondekar.com
|
||||
* April 25, 2010: Couple of more minor fixups "Mikel Lindsaar":credits.html#raasdnil
|
||||
|
|
Loading…
Reference in a new issue