I'm wondering if this notation is safe in all cases. Probably it is.. just haven't used it earlier as I haven't been sure what get's inserted to the variable. But I guess it's either  @current_community.payment_gateways.first or nil in every case?