method

transaction_if

transaction_if(value)
private

No documentation available.

# File activerecord/lib/active_record/associations/has_one_association.rb, line 97
        def transaction_if(value)
          if value
            reflection.klass.transaction { yield }
          else
            yield
          end
        end