edits and rails