avoid errors when object == nil
avoid errors when object == nil

dsandstrom/foundation_rails_helper,m1es/foundation_rails_helper,sgruhier/foundation_rails_helper,UniversalAvenue/foundation_rails_helper,responsa/foundation_rails_helper_mod