Ruby for Prime Number & Rails & Others