Pivotal Labs

Main menu

Skip to primary content
Skip to secondary content
  • About
  • Case Studies
  • Team
    • Executives
    • Locations
      • San Francisco (HQ)
      • Boston
      • Boulder
      • Denver
      • London
      • Los Angeles
      • New York
  • Community
    • Blogs
    • Tech Talks
    • Events
  • Careers
    • Lifestyle
    • Principles & Practices
    • Benefits
    • FAQ
    • Apply
  • Contact
    • Press Room
    • Press Releases
    • In The News
    • Press Kit
  • All
  • Labs
  • Standup
  • Tracker

[Standup][NY] 08/24/12: Penultimate Summer Friday News

Jonathan Berger
Friday, August 24, 2012

Interestings

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.

Check it out:
https://github.com/thoughtbot/factory_girl/blob/master/GETTING_STARTED.md#transient-attributes

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.

  • 0 Shares
  • Share on Facebook
  • Share on Twitter

Add New Comment Cancel reply

Your email address will not be published.

Jonathan Berger

Jonathan Berger
New York

Recent Posts

  • A Responsible Recipe for the Fewest Possible Meetings
  • 7 Best Practices for Facilitating Agile Retrospectives
  • Set your sights on the next Milestone with an Idea Board
Subscribe to Jonathan's Feed

Author Topics

agile (9)
agile retrospective (2)
ipm (1)
ironblogger (8)
iteration planning meeting (1)
process (4)
release planning (1)
retrospective (2)
stand-up (1)
tech retro (1)
retros (1)
epics (1)
pivotal tracker (2)
design (10)
estimation (1)
productivity (1)
sustainable pace (2)
ergonomics (1)
health (1)
refactoring (1)
accessibility (2)
hacks (1)
research (1)
convention over configuration (1)
cucumber (1)
speaking (1)
text-editors (1)
mobile (1)
  • About
  • Case Studies
  • Team
  • Community
  • Careers
  • Contact
  • Labs
  • Events

Contact Us

contact@pivotallabs.com
+1 415-77-PIVOT
TwitterLinkedInFacebook

Pivotal Tracker

Tracker is the award-winning agile project management tool that enables real-time collaboration around a shared, prioritized backlog.
Visit pivotaltracker.com >