FactoryGirl ignored attributes
Ignored/transient attributes are attributes you can pass into a FactoryGirl constructor that you couldn’t pass into a normal model constructor.
They helped us eliminate a lot of setup having to do with associations.
Suman is the champion! (still)
Suman defended his title and defeated Berry in the finals of the First Annual Summer Intern Farewell Table Tennis Memorial Tournament to win his second championship. Thus a ping pong dynasty is born.
Date.current (respects time zone) vs. Date.today (no time zone)
Date.today and Time.now are Ruby, and do not respect time zone.
Be careful when using things like 1.day.from_now and Date.tomorrow, because these are ActiveSupport methods that DO respect time zone.
If you’re comparing 1.day.from_now to Date.today, these are not equivalent. Use Date.current.