maintenance policy for rails