Attributes are usually a term from the object oriented paradigm. An object has an attribute, i.e. My attribute would be that I have blue eyes. A variable is a concept from programming (it's also one from mathematics, but that's irrelevant here) and it is used to describe or "contain" a value that represents an attribute.
In ruby instance variables are also called attributes.