Stop forgetting your foreign key indexes alexpeattie.com/blog/stop-fo…
on of the best git tutorial i've seen so far atlassian.com/git/
NOT WORKING: where("attr_id IN (?)", [10, nil]). WORKING: where("attr_id = ? OR attr_id IS ?", 10, nil)
ActiveModel::Dirty tracks changes as Active Record: user.email_changed? user.email_change #rails #rubyonrails
Error Handling in ActiveRecord Transactions http://t.co/BfrpalVk39 #rubyonrails #rails #activerecord
in postgres to dump particular table: pg_dump db_name -t table_name > file.sql #psql #postgreSQL
1
