Sha256: 6bc25a42c221f1b0376df82aa27561acc43a53dfd5a01997aea6a73ecf290c11

Contents?: true

Size: 610 Bytes

Versions: 1

Compression:

Stored size: 610 Bytes

Contents

## 0.6.1 (April 25, 2012)
* `attr_duplicatable` works more like `attr_accessible`, e.g it allows multiple calls and respects whitelisted attributes from the parent STI class. Should fix #1.

## 0.6.0 (April 24, 2012)

* Associations must be declared explicit as duplicatable as well, e.g:
  ```ruby
  belongs_to :posts
  
  attr_duplicatable :text, :posts
  ```

* Without specifying `attr_duplicatable`, all attributes (except the primary-key) and associations will be duplicated automatically.
  This allows you to skip the `attr_duplicatable` declarations completely, if you don't have special requirements.

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
activerecord-duplicate-0.6.1 CHANGELOG.md