some basic learning of rails workflow