Ray, Wyoming is not a real town, it was a fictional place used as the backdrop for the movie Did You Hear About the Morgans?
In the film lead characters Paul Morgan and Meryl Morgan (Hugh Grant and Sarah Jessica Parker) are witnesses to a crime and are sent to Ray under the witness protection program.
Actual filming of the movie took place in:
Galisteo, New Mexico
Los Alamos, New Mexico
New York City, New York
Pecos, New Mexico
Roy, New Mexico
Santa Fe, New Mexico
The film was written and directed by Marc Lawrence, and was released on December 18, 2009.
Check out 15 Real Movie Locations You Can Actually Visit, shared by Mental Floss.