Hi there !
I don't quite understand the following method (taken from RESTful
authentication) and can't google the problem since the Goog won't accept
the search term in question ("||=").
@current_user ||= (login_from_session || login_from_basic_auth ||
login_from_cookie || :false)
I know "||" means a boolean "or", but what does "||=" mean?
Can you translate the above method into a sentence?
Thank you very much for your help!
Posted via http://www.ruby-forum.com/.