Spray foam insulation, when properly installed is both an air barrier and when closed cell foam is used at the proper depth a vapor barrier!  Before hiring any contractor you should establish the brand of foam being used and verify that with the named manufacture.  Please ask for ESR reports and MSDS sheets on any foam being installed in your home. A couple areas where you might consider spray foam insulation include:
This is more common with closed cell foam, but it happens with open cell foam, too. Since closed cell foam has a higher R-value per inch, installers generally spray 2" in walls and 3" in rooflines to meet the energy code requirements of R-13 and R-19, respectively. (I'm not going to dive into the energy code here, but these numbers apply to many climate zones, the latter being allowed under the UA tradeoffs rule. See the Energy Nerd's blog on this topic if you want to argue.)
Although spray foam insulation has been in use since the 1940s, primarily for aircraft, for the past 30 years, continual product innovation has seen the increased adoption of spray foam insulation in residential and commercial construction. The rapid growth of sprayed foam insulation in building construction, thanks in part to its immediate and long-term benefits, has allowed the insulation material to sit confidently alongside traditional insulation types in providing thermal comfort for building occupants.
The process by which heat energy in the form of light (usually IR unless the substrate is hot enough to glow in the visible range) is emitted more strongly by warm surfaces and absorbed by other materials especially those of low IR reflectivity (think matte black finish). Radiant heat transfer does not require a medium. Foam insulation materials, such as spray foam insulation, are opaque to thermal radiation, like most solid materials. http://youtube.com/watch?feature=youtube_gdata&v=ggLAUsiuI_o

Open-cell is also known as half-pound foam. It has an R-Value of 3.5-3.6 per inch, and its density is bout 0.5 pounds per cubic food. Low-density foams like these are made partially from raw biological materials Carbon dioxide or water is also used in the makeup. Open-cell uses far less material than closed-cell, but its R-Value is lower. Also, open cell requires a vapor retarder (like gypsum wallboard) and is riskier when used for roof sheathing. It's not highly recommended that you use open-cell insulation if you live in a cold climate unless you have that extra barrier. You should also compare how much money you spend versus how effective the open-cell insulation is wherever it's installed.
Liquid Rubber is generally fine when applied in one coat at a 20 mil film (42 sq ft per gallon) thickness and will still withstand extremes. That is the beauty of the EPDM polymer. A second coat would provide insurance where exposures are likely to be very extreme. Radical extremes in temperature where constant surface temperatures reach 250°F or above or -20°F or below. Warning, though, if the second coat is applied at the wrong time, it may create cracking, fissures or bubbling. The second coat should be applied either when the first coat is still tacky or when that first coat has had a chance to fully cure (up to 3 months.) https://youtube.com/v/ggLAUsiuI_o?version=3
RE: my June 12 post...We went ahead and had the attic sprayed with a Soy-based product. Stayed in a hotel for 3 nites. Still smelled a little bad but that's gone away over time. I'm very glad we didn't use the other foam as even that much outgassing of a petrochemical could have sent my wife to the hospital. Unfortunately, the spray crew didn't speak English(at least not to me) and were kinda lazy, so they ended up spraying over some can fixtures from the kitchen below that were not insulation-contact rated. So I hired an electrician to come out, pull down the cans, pull out what he thought was an appropriate amount of foam to create a big enough air space and then re-install the cans. I billed the firm for the electrician plus an extra night we had to stay in the hotel and they paid, no questions asked. Guess they knew they had screwed up.  
I employed a company to insulate my three story house in 2011. They started Insulating it in August of 2011...They said it would be a 3-4 day job. They installed it in 0.5"-8" lifts all in the same cavity, this left burned insulation and voids. They removed what they told me was the bad insulation and in the process cut many electrical wires. They fixed this. They then reinstalled too thick again in some spots and removed again. They then installed it for a 3rd time. The areas that I thought were good are now separating from the structural members leaving voids. As of October 2012, 1 year and 2 months of dealing with the contractor I told them I want proof that what has been installed carries a warranty or I want my money back and I will fix the problems myself. They have yet to provide me with this warranty. I have spent many hours in the house looking at what is bad and they need to fix. I am frustrated, 14 months of additional rent due to their negligence. I would like to know how I can get proof that the product carries the manufacturers lifetime warranty, or has it been installed improperly throughout the entire house. Desperately awaiting your response. 
While coatings may potentially stop minor leaks, the roof should be properly repaired and dried prior to coating application. Coatings may be able to seal pinhole leaks, which are leaks not visible to the naked eye. If the roof is leaking, the roof leak will need to be identified and repaired prior to any recoating; do not expect the coating to find and seal the leaks. http://youtube.com/v/ggLAUsiuI_o
We had issues with getting this foam to turn green in summertime in the South. We needed up spending an additional $300 on being able to spray this foam: 110 window a/c for shop & a $60 tarp to drape over the top, to keep the temps down. The areas where we had trouble-shooted were sticky & even after we wiped it down, the new green foam wouldn't stick. My husband had to apply Liquid Nails to it. For over $800, I expected alot more, plus the sellers customer service skills were in need of improvement.
These coatings contain various types of acrylic polymer, and are typically formulated to help extend the coating’s life and improve durability. Acrylic coatings are available in a number of colors but are most commonly used as white reflective coatings. Thanks to its durability and low cost, many contractors and facility managers believe this to be the best roof coating.
The local foam installer that I used here in Hilton Head told me he looked for some peeling back of the foam. This was ensuring that it was at the perfect temperature which helped them maximize their yield (profit). I have open cell foam and it pulled away a little, and did so immediately (within minutes). They went back after they were done to any spots that pulled away too much and filled them with the touch up kit; they were looking for the top edge to roll just a little bit.  http://m.youtube.com/embed/ggLAUsiuI_o
Although we are a small-town company, we can handle any size project or building. We have been blessed to work for residential homeowners as well as corporations like Bell Helicopter, Taco Bell, Tyson Foods, and even the Texas Rangers!  Our conservative Christian family values won’t let us give you anything less than an honest evaluation of the best product for your specific application. SprayFoam Texas installs the most energy efficient attic systems available anywhere. 
EPDM (Liquid Roof), (Liquid Rubber) Ethylene Propylene Diene Monomer. Liquid Rubber is available in White, Black Or Grey. The RV product Liquid Roof is available only in white. However, you can customize the color by adding no more than three ounces per gallon of an universal colorant (Glycol Colorant for light colors and for medium to heavy colors use a solvent based colorant available at most paint stores). If the desired color is still not achieved you may add up to ONE more additional ounce of colorant. Once the colorant is added and color achieved then you add catalyst and mix and you are ready! The Liquid Roof coating is specifically designed for RVs and trailers and mobile homes; items that are in motion. Liquid Rubber, the commercial product, is available in white or black. Custom colors are available for orders over 100 gallons. Approved Uses for Liquid EPDM Rubber.
I have used the Froth-Pak 200 to air-seal rim joists--the area above the foundation wall in a basement. The first time I used it I did not shake the canisters well enough and the foam did not cure properly. Don't just shake the box for a few seconds. I take the tanks out of the box so I can shake/invert each tank for a minute or two. You will be able to hear the chemical sloshing around in the tanks. Also, don't ignore the recommended temperature for application--around 75 degrees F.

How Much Is Spray Foam Roof Insulation

Product innovation over the years has seen the introduction of several different types of spray foam insulation. Primarily in residential and commercial construction, open-cell and closed-cell spray foam is used while high-density spray insulation is used as roofing foam in commercial or industrial construction. Open-cell sprayed-in foam insulation, a soft low-density material, is typically used for interior applications such as wall cavities, underside of roof decks, attics, basement walls and crawlspaces. The open cell structure of low density foamed insulation allows for moisture permeability to help contribute to moisture management and bi-directional drying of the wall assembly.
In the case you have above the installer wasn't reading his foam. They must be trained to do that as they spray. Temps and conditions are constantly changing thru out the day. Either he wasn't properly trained or if he was,he wasn't doing his job! This is a serious problem with people jumping in to the foam business. A lot of homeowners and builders are looking the best price and end up with someone who doesn't know what they are doing. Hope this info helps. Foam insulation is a great product. It just has to be done right by someone who knows what they are doing.

How Much Does Spray Foam Insulation Cost