Content edition for rails