On Sun, Apr 25, 2010 at 8:53 AM, Colin Law <[email protected]> wrote:

> Or copy it into an @ variable in the controller action to make it
> available in the rendered view.  But I believe for the OP's problem he
> does not require to use params (or persistence) at all.  See my
> previous post.

My impression is that the OP is trying to set a variable in one view
(and yes, that's the wrong place to do it regardless):

  app\views\expenses\new.html.erb

and have it show up in another:

  "But the "params ... true" setting is not conveyed to the
       app\views\vendors\show.html.erb page."

Hence the issue of persistence...

-- 
Hassan Schroeder ------------------------ [email protected]
twitter: @hassan

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to