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