tmcyf/tmcyf — pull request #124 by ivanvarghese (2014-03-17 07:46:08+00:00)
Title: Added annotate schema to models

Models have respective schema inside model to quickly see what the model is interacting with.

Routes annotation is available to see output of `rake routes`:

```ruby
# == Route Map (Updated 2014-03-17 02:41)
#
# Prefix Verb URI Pattern Controller#Action
# rails_admin /admin2 RailsAdmin::Engine
# give_index GET /give(.:format) give#index
# POST /give(.:format) give#create
# new_give GET /give/new(.:format) give#new
# events GET /events(.:format) events#index
# POST /events(.:format) events#create
# new_event GET /events/new(.:format) events#new
# edit_event GET /events/:id/edit(.:format) events#edit
# event GET /events/:id(.:format) events#show
# PATCH /events/:id(.:format) events#update
# PUT /events/:id(.:format) events#update
# DELETE /events/:id(.:format) events#destroy
# new_user_session GET /login(.:format) devise/sessions#new
# user_session POST /login(.:format) devise/sessions#create
# destroy_user_session DELETE /logout(.:format) devise/sessions#destroy
# user_password POST /reset(.:format) devise/passwords#create
# new_user_password GET /reset/new(.:format) devise/passwords#new
# edit_user_password GET /reset/edit(.:format) devise/passwords#edit
# PATCH /reset(.:format) devise/passwords#update
# PUT /reset(.:format) devise/passwords#update
# cancel_user_registration GET /cancel(.:format) registrations#cancel
# user_registration POST / registrations#create
# new_user_registration GET /register(.:format) registrations#new
# edit_user_registration GET /edit(.:format) registrations#edit
# PATCH / registrations#update
# PUT / registrations#update
# DELETE / registrations#destroy
# user_confirmation POST /confirmation(.:format) devise/confirmations#create
# new_user_confirmation GET /confirmation/new(.:format) devise/confirmations#new
# GET /confirmation(.:format) devise/confirmations#show
# database GET /pages/database(.:format) pages#database
# login GET /login(.:format) devise/sessions#new
# logout GET /logout(.:format) devise/sessions#destroy
# register GET /register(.:format) devise/registrations#new
# POST /register(.:format) devise/registrations#create
# reset GET /reset(.:format) devise/passwords#new
# PUT /reset(.:format) devise/passwords#update
# POST /reset(.:format) devise/passwords#create
# reset_change GET /reset/change(.:format) devise/passwords#edit
# account GET /account(.:format) devise/registrations#edit
# PATCH /account(.:format) devise/registrations#update
# PUT /account(.:format) devise/registrations#update
# root GET / pages#home
# about GET /about(.:format) pages#about
# about_biblestudies GET /about/biblestudies(.:format) pages#about_biblestudies
# about_tribes GET /about/tribes(.:format) pages#about_tribes
# about_service GET /about/service(.:format) pages#about_service
# about_socials GET /about/socials(.:format) pages#about_socials
# about_officers GET /about/officers(.:format) pages#about_officers
# about_officers_past GET /about/officers/past(.:format) pages#officers_archive
# about_contact GET /about/contact(.:format) pages#about_contact
# biblestudy GET /biblestudy(.:format) pages#biblestudy
# admin GET /admin(.:format) pages#admin
# account_preferences GET /account/preferences(.:format) pages#preferences
# POST /account/preferences(.:format) pages#update_preferences
# privacy_policy GET /privacy_policy(.:format) pages#privacy_policy
# send_sms GET /admin/send_sms(.:format) contact#send_sms
# receive_sms POST /admin/receive_sms(.:format) contact#receive_sms
# send_message POST /admin/send_message(.:format) contact#send_all_message
# GET /:status(.:format) errors#show {:status=>/\d{3}/}
#
# Routes for RailsAdmin::Engine:
# dashboard GET / rails_admin/main#dashboard
# index GET|POST /:model_name(.:format) rails_admin/main#index
# new GET|POST /:model_name/new(.:format) rails_admin/main#new
# export GET|POST /:model_name/export(.:format) rails_admin/main#export
# bulk_delete POST|DELETE /:model_name/bulk_delete(.:format) rails_admin/main#bulk_delete
# bulk_action POST /:model_name/bulk_action(.:format) rails_admin/main#bulk_action
# show GET /:model_name/:id(.:format) rails_admin/main#show
# edit GET|PUT /:model_name/:id/edit(.:format) rails_admin/main#edit
# delete GET|DELETE /:model_name/:id/delete(.:format) rails_admin/main#delete
# show_in_app GET /:model_name/:id/show_in_app(.:format) rails_admin/main#show_in_app
#

TMCYF::Application.routes.draw do
...
end
```