Sha256: 943d8d9ab44ab33fdf7a3d0571e5ac903ed8d3167e2e97936d2d10ea5ae88165

Contents?: true

Size: 270 Bytes

Versions: 7

Compression:

Stored size: 270 Bytes

Contents

module PresentationProjectPatch
  def self.included(base) # :nodoc:
    base.class_eval do
      unloadable # Send unloadable so it will not be unloaded in development
      has_many :presentations, :dependent => :destroy, :order => "created_at DESC"
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
chili_presentations-0.2.2 lib/presentation_project_patch.rb
chili_presentations-0.2.1 lib/presentation_project_patch.rb
chili_presentations-0.2.0 lib/presentation_project_patch.rb
chili_presentations-0.1.3 lib/presentation_project_patch.rb
chili_presentations-0.1.2 lib/presentation_project_patch.rb
chili_presentations-0.1.1 lib/presentation_project_patch.rb
chili_presentations-0.1.0 lib/presentation_project_patch.rb