first commit. Rails version working