I've seen this result usually given as "if $a$ and $b$ are coprime, then $\log_{b}(a)$ is irrational." Wolfram|Alpha even says it is "unknown" whether or not $\log_{12}(6)$ is irrational, but I think it is easy to show this is irrational (unless I'm missing something obvious):
By way of contradiction, suppose $\dfrac{\ln(6)}{\ln(12)} = \dfrac{n}{m}$ with integers $n,m$. Without loss of generality, take $n,m$ to be natural numbers.
Then $m\ln(6) = n\ln(12)$. Hence, $6^{m} = 12^{n}$, so we have $2^{m}3^{m} = 2^{2n}3^{n}$, and so:
$2^{m-2n}3^{m} = 3^{n}$
Since $3^{n}$ is odd, so is $2^{m-2n}3^{m}$, therefore $m-2n = 0$, and $m = 2n$. Hence $\dfrac{\ln(6)}{\ln(12)} = \dfrac{1}{2}$. This is a contradiction, so $\dfrac{\ln(6)}{\ln(12)}$ is irrational.
This leads me to believe that $a,b$ being coprime is a sufficient condition to say that $\log_{b}(a)$ is irrational, but not a necessary one. My question is, can we give a stronger result regarding whether or not $\log_{b}(a)$ is irrational? Can we give a necessary and sufficient condition? Does anyone know of a specific example of $a,b$ where the irrationality of $\log_{b}(a)$ really is unknown?
The number $\log_b{a}$ is irrational iff no integer power of $a$ is an integer power of $b$. Indeed, if $a^m=b^n$ then $m\log_b a=n$, so $\log_b a=n/m$. Conversely, if $\log_b a=n/m$, then $\log_b a^m=n,$ so $b^n=a^m$.
For example for $a=6, b=12$, $a^m=b^n$ means $2^m3^m=2^{2n}3^n$ which is impossible.
Remark Note that if $a=p_1^{k_1}...p_s^{k_s}, b=p_1^{l_1}...p_s^{l_s}$ then $a^m=b^n$ means $p_1^{mk_1}...p_s^{mk_s}=p_1^{nl_1}...p_s^{nl_s}$ or $mk_1=nl_1,...,mk_s=nl_s$. This implies that $k_i\ne 0$ iff $l_i\ne 0$ and all numbers $l_i/k_i$ are the same for every $i$ such that $k_i\ne 0$.