getting rid of attr_accessor to comply with rails 4