This gem should support you when using rails scaffold (or a lot of simple CRUD models/views/controllers) in a programmable fashion