I have come across attr :location_string inside a class definition in
class Web < class Params
I know how attr_accessor, attr_reader or attr_writer works.
But I don't have any idea on attr in Rails.
Can you kindly explain what it does?