Module: PresentationProjectPatch
- Defined in:
- lib/presentation_project_patch.rb
Class Method Summary collapse
-
.included(base) ⇒ Object
:nodoc:.
Class Method Details
.included(base) ⇒ Object
:nodoc:
2 3 4 5 6 7 |
# File 'lib/presentation_project_patch.rb', line 2 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 |