On Tuesday, May 27, 2014 3:08:18 AM UTC-4, Ruby-Forum.com User wrote:
>
> 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/. 
>

Not sure I understand the question, but I would recommend a primer on ruby. 
 You can call one method from another, but I'm not sure it's going to 
resolve your issue and I really don't have enough information to suggest 
how I would go about it.  

-- 
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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/5fbe022a-26b5-4840-8225-a46ded9a064d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to