Should we include schema.rb while commiting to GIT? or should we ignore it? what is the right approach?
schema.rb
Yes. The schema file is used to configure your database when using rake db:reset and other commands. Migrations should only be used when changing the database schema and will always result in a new schema file.