image file
This commit is contained in:
parent
dab22ee570
commit
8ce52b0d9f
@ -11,7 +11,7 @@ class Event < ActiveRecord::Base
|
||||
attr_accessor :start_at_date, :start_at_time, :stop_at_date, :stop_at_time, :event_id
|
||||
|
||||
has_one :block, :as => :blockable
|
||||
|
||||
belongs_to :image_file
|
||||
|
||||
scope :between, lambda { |start, stop|
|
||||
after(start).before(stop)
|
||||
|
Loading…
x
Reference in New Issue
Block a user