Added post on rails contraints