Skip to content

Instantly share code, notes, and snippets.

@excid3
Created July 2, 2012 17:25
Show Gist options
  • Select an option

  • Save excid3/3034443 to your computer and use it in GitHub Desktop.

Select an option

Save excid3/3034443 to your computer and use it in GitHub Desktop.
call.unit.status.try(:unit_status) => Fails
call => Call(1)
call.unit => Call(1).unit => nil
call.unit.status => Call(1).nil.status => ERROR
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment