Sha256: 60bdb6a551ec35a9ff2a53ef80d5865945cb251e908ddb60bbdd4dc34e7b23c1

Contents?: true

Size: 227 Bytes

Versions: 4

Compression:

Stored size: 227 Bytes

Contents

module VideoVersionPatch
  def self.included(base) # :nodoc:
    base.class_eval do
      unloadable # Send unloadable so it will not be unloaded in development
      has_many :videos, :dependent => :destroy
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
chili_videos-0.2.2 lib/video_version_patch.rb
chili_videos-0.2.1 lib/video_version_patch.rb
chili_videos-0.2.0 lib/video_version_patch.rb
chili_videos-0.1.0 lib/video_version_patch.rb