adding rails examples on activerecord, arel and activesupport