using rails with scaffolding