SWAT project with ruby on rails