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

WWDC && More

Wiley Kestner
Monday, June 11, 2012

Helps

  • Standup is back in the Lounge today

Hang on folks, we’re iterating again…

  • Recommendations when writing a migration

This is in regards to a migration which involves a large amount of models.

One option is to clone the models you care about (into a different directory).

Another option is to do the schema change and the data migration as a rake task that is unit testable.

It depends whether this is a one-time event or if it’s a boundary you’re going to cross back-and-forth.

Interestings

  • JSON Deep Clone in 1 line

def JSON.deep(object)
JSON.parse(object.to_json)
end

Events

  • Yoga @ 6p – all welcome
  • 0 Shares
  • Share on Facebook
  • Share on Twitter

Add New Comment Cancel reply

Your email address will not be published.

Wiley Kestner

Wiley Kestner
San Francisco

Recent Posts

  • WWDC && More
  • Pairing blog posts (Wednesday && Thursday)
  • Now on your mobile device!
Subscribe to Wiley's Feed

Author Topics

  • 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 >