These are chat archives for jmoon90/rubyforgood2014

1st
Aug 2014
Aaron H
@armahillo
Aug 01 2014 16:05
yooooooo
jmoon90
@jmoon90
Aug 01 2014 16:16
comment line 47 from spec_helper.rb
Aaron H
@armahillo
Aug 01 2014 18:07
foo.should be_valid
expect(foo).to be_valid
Dave
@howmuchcomputer
Aug 01 2014 19:10
hey
Chris Guzman
@ChrisGuzman
Aug 01 2014 20:06

factory :invitation do

# association :person
  recipient_email "test@test.com"

end
end

FactoryGirl.define do
factory :invitation do

# association :person
  recipient_email "test@test.com"

end
end

Aaron H
@armahillo
Aug 01 2014 20:13
@rcarter scope :year, -> (year) { where("ends_on >= ? AND ends_on <= ?", Time.zone.today.beginning_of_year, Time.zone.today.end_of_year)}