Sha256: 7606bc3eb58486152f4bf85257c638c6aef1b3f82053bbbf1cceff46855f11be

Contents?: true

Size: 164 Bytes

Versions: 2

Compression:

Stored size: 164 Bytes

Contents

class Article < ActiveRecord::Base
  has_many :comments
  before_move :ArticleArchive do
    comments.each { |c| c.move_to(CommentArchive, move_options) }
  end
end

Version data entries

2 entries across 2 versions & 2 rubygems

Version Path
mover_postgres-0.3.6 spec/fixtures/article.rb
mover-0.3.6 spec/fixtures/article.rb