active storage image upload rails code example Example: active storage has_many_attached has_many_attached :photo