Ruby on Rails | Screencasts | Download | Documentation | Weblog | Community | Source

Ticket #5998 (closed defect: fixed)

Opened 2 years ago

Last modified 2 years ago

[PATCH] Remove documentation references to deprecated stuff

Reported by: jakob@mentalized.net Assigned to: David
Priority: normal Milestone:
Component: ActiveRecord Version: edge
Severity: normal Keywords: documentation, deprecation, docs
Cc:

Description

The attached patch fixes the few remaining places in the documentation where deprecated stuff like @content_for_layout and find_all is used in examples. I tried to locate and change the following in the docs (not all were actually found and changed):

  • find_all -> find(:all)
  • find_first -> find(:first)
  • @session -> session
  • @params -> params
  • @flash -> flash

That said, there are still places in the actual Rails source and tests that use the deprecated stuff. Those have not been changed.

The patch fixes docs for multiple components. Let me know if you need a patch for each component.

Attachments

remove_deprecated_stuff_from_docs.diff (5.5 kB) - added by anonymous on 08/31/06 18:32:02.
fix_deprecated_documentation.diff (4.6 kB) - added by kevinclark on 09/02/06 04:54:13.
Update patch to fix reference to render_collection_of_partials (now render :partial => , :collection =>)

Change History

08/31/06 18:32:02 changed by anonymous

  • attachment remove_deprecated_stuff_from_docs.diff added.

08/31/06 18:32:41 changed by anonymous

  • summary changed from Remove documentation references to deprecated stuff to [PATCH] Remove documentation references to deprecated stuff.

09/01/06 23:37:11 changed by bitsweat

  • status changed from new to closed.
  • resolution set to fixed.

(In [4898]) Deprecation: update docs. Closes #5998.

09/02/06 04:54:13 changed by kevinclark

  • attachment fix_deprecated_documentation.diff added.

Update patch to fix reference to render_collection_of_partials (now render :partial => , :collection =>)

09/02/06 04:55:19 changed by kevinclark

  • keywords changed from documentation, deprecation to documentation, deprecation, docs.

Adding docs tag so it goes on report 20. +1 for inclusion