Added gitignore and fix ActiveRecord directive