[Rails] Regarding the presence or absence of parentheses in the argument of the render method
Do you put parentheses in the argument of the render method? Can't you put it on?
In conclusion, ** both are OK **.
You can omit the parentheses when calling methods in Ruby.
So it doesn't matter which way you write the following two.
* However, when writing complicated code, it is better to add parentheses to make it easier to understand the position of the delimiter.