Practice with persisting data in rails