From: Alexandru Popescu Date: 2007-01-13T05:00:10+09:00 Subject: Re: What does this mean? ||= var ||= value is var = var || value ./alex -- .w( the_mindstorm )p. On 1/12/07, Justin Ko wrote: > I'm looking at this method and don't understand what ||= means: > > def current_account > @account ||= Account.find(session[:account_id]) > end > > I have the ruby for rails book and can't find anything on it. > > -- > Posted via http://www.ruby-forum.com/. > >