Displaying 1 result from an estimated 1 matches for "bienvenid".
Did you mean:
bienvenida
2011 Jun 11
7
"Stack level too" deep with @controller.hi
...ser or a guest. When I call in "home/index" my
method "hi", show me this error message:
"Stack level too deep"
class HomeController < ApplicationController
def hi
if (current_user)
@username = current_user_session.user.username
@welr = ''¡Bienvenid@ '' + @username.to_s + '' a nuestra web!''
render ''home/index''
else
@weli = "¡Bienvenid@ invitad@, no dude en registrarse!"
end
end
end
# home/index
<p>Holaaaa</p>
<%= @controller.hi %>
Well, I have trying...