Sha256: 2bd2a84ceb93ed2d7e60b47e856cfcdec12328ae955c9cba883e294d48b9ab2b
Contents?: true
Size: 308 Bytes
Versions: 5
Compression:
Stored size: 308 Bytes
Contents
class PageCol < ActiveRecord::Base translates :content has_and_belongs_to_many :blocks, :list => true, :order => 'position' belongs_to :page def clone col = super col.translations = translations.clone unless translations.empty? col.block_ids = block_ids return col end end
Version data entries
5 entries across 5 versions & 1 rubygems