mike2r wrote in post #1147137: . Any > instance variables that are referenced in the view must be defined > within > that action.
All my variables used in my view are defined in my controller in a methode inivariable and then I use before_filter :inivariable then they are initialized. > Even the following: > > render action: "operation_en_cours" > > doesn't really execute the action. It renders a view using the template > associated with the action operation_en_cours. Any information required > by > the template from the action (such as instance variables) will need to > be > defined in the action that is calling it (in this case, change). Okay I see the difference now but then is it possible to call an other mathode after one is already call? Is the only way to report the second methode in the statement of the first one? -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscr...@googlegroups.com. To post to this group, send email to rubyonrails-talk@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/97fe40c798e8a97fc09aea61a465a246%40ruby-forum.com. For more options, visit https://groups.google.com/d/optout.