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

Ticket #10822 (new defect)

Opened 2 years ago

Last modified 2 years ago

[PATCH] Document Module/Class#cattr_* extensions and remove unnecessary #flatten

Reported by: chuyeow Assigned to: core
Priority: low Milestone: 2.x
Component: ActiveSupport Version: edge
Severity: normal Keywords: tiny
Cc:

Attachments

document_cattr.diff (2.2 kB) - added by chuyeow on 01/16/08 06:04:41.
document_attribute_accessors.diff (8.1 kB) - added by chuyeow on 01/17/08 01:15:27.

Change History

01/16/08 06:04:41 changed by chuyeow

  • attachment document_cattr.diff added.

01/16/08 06:04:58 changed by chuyeow

  • summary changed from [PATCH][TINY] Document Class#cattr_* extensions to [PATCH][DOCS] Document Class#cattr_* extensions.

01/16/08 09:27:11 changed by chuyeow

  • keywords changed from docs tiny to tiny.
  • summary changed from [PATCH][DOCS] Document Class#cattr_* extensions to [PATCH] Document Module/Class#cattr_* extensions and remove unnecessary #flatten.

Just realized there is mattr_* methods as well. Adding another patch that documents those, removes an unnecessary #flatten on the splat argument in cattr_*, and add some clarifying tests.

01/17/08 01:15:27 changed by chuyeow

  • attachment document_attribute_accessors.diff added.

03/12/08 14:36:28 changed by lifofifo

In mattr_reader() docs, you've put size() reader method in class Foo as well under "is equivalent to:" section. I think that's not needed, right ? Same for mattr_writer() as well.