1. setup database, 2. create key_term model, 3. add more data samples

simply use item['term'], instead of "#{item['term']}"