Displaying 1 result from an estimated 1 matches for "d6d46b42".
2006 Apr 07
3
Howto set a global parameter
Hi,
In my login_controller I get the usename of the person logging in.
@username = @user.name
puts " DEBUG: #{@username} just logged in\n" # This works
But @username seems empty when accessed from numbers_controller.rb ,
how to I set it to be accessible global?
Or at least move the content of that variable over to another
controller.
Best regards,
Martin