Setting dynamic attributes using ruby accessor style methods and []=