Displaying 2 results from an estimated 2 matches for "flash_help".
Did you mean:
  flash_helper
  
2011 Mar 10
2
Trying to test flash messaging with rspec
...h[:success] = "Welcome new user!"
      redirect_to @user
    else
      @title = "Sign up"
      render ''new''
    end
  end
  def show
    @user  = User.find(params[:id])
    @title = @user.userName
  end
end
[/code]
And the view displays with:
[code]
<%= flash_helper %>
The helper is:
def flash_helper
      f_names = [:success]
      fl = ''''
      for name in f_names
        if flash[name]
          fl = fl + "<div class=\"notice\">#{flash[name]}</div>"
        end
      flash[name] = nil;
    end
    re...
2006 Jun 20
3
WEBrick just decided to take a hiatus on me
...erecord 1.14.2
   activesupport 1.3.1
   db_structure 1.0.2
   localization_generator 1.0.0
   money 1.7.1
   pdf-writer 1.1.2
   rake 0.7.1
   RedCloth 3.0.4
   SimpleSearch 0.5.0
   source 0.0.1
   transaction-simple 1.3.0
Plugins
   active_rbac
   dialog_helper
   dollars_and_cents
   engines
   flash_helper
   query_trace
Does anyone have any idea why all of a sudden that things would just croak
on my box?
Thanks in advance,
-- 
~d
www.razorpress.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060620/878...