@listing I suppose is a collection of listing where you listing
represents
a model in your database.
assuming listing database table listings have columns id,name
your model will have methods name=(val) and (#not exactly like this but
something like this)
“name” which will set and get the value ActiveRecord Base class will do
this
dynamically for you.
listing.name will get value for you
listing.name=“xyz” will set value for you
column.name above will fetch “name” for you
then listing.send(column.name)=>listing.send(“name”)=>listing.name
which will return the value for it.