View the Project on GitHub codn/adminpanel
You can create the basic contact template with:
rails g adminpanel:contact
This copies the contact template into your models folder for easier customization.