Learning Rails by Examples