Let the total number of students in Ridgewood Junior High School be represented by \( x \).
According to the problem, 25% of the students brought their lunch, which is represented mathematically as:
\[ 0.25x = 46 \]
To find \( x \), we will solve the equation by dividing both sides by 0.25:
\[ x = \frac{46}{0.25} \]
Calculating the right side:
\[ x = 46 \div 0.25 = 46 \times 4 = 184 \]
Thus, the total number of students in Ridgewood Junior High School is:
\[ \boxed{184} \]