Forum: Ruby on Rails NOOB: Second post, please help...

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
B31c8f5031486fa50ec7ee9e1350dec9?d=identicon&s=25 Marcus Blankenship (Guest)
on 2006-05-18 02:55
(Received via mailing list)
Folks,
I am linking from page A to page B, and back again. When I go from A ->
B, the B_controller.rb runs fine, and the page renders properly. But,
when I go from B -> A, the A_controller.rb doesn't run again, so the
array (@A) is nil (which causes a problem).
Should the controller run each time the page is accessed? Any ideas?

Marcus


Marcus Blankenship
Technology Services - Software Group

JELD-WEN, inc.
Information Systems
541-882-3451 x 2558
marcusb@jeld-wen.com

RELIABILITY for real life*
 This correspondence is for the named person's use only. It may contain
confidential or legally privileged information and is intended solely
for the named addressee. If you receive this correspondence in error,
please notify the sender and delete it from your system. You must not
disclose, copy or rely on any part of this correspondence if you are not
the intended recipient.
7f023e9ef20f259eebbda8f5d7a88d6b?d=identicon&s=25 Ben and Kaz Askins (Guest)
on 2006-05-18 03:20
(Received via mailing list)
On 5/18/06, Marcus Blankenship <MarcusB@jeld-wen.com> wrote:
> Folks,
> I am linking from page A to page B, and back again. When I go from A -> B,
> the B_controller.rb runs fine, and the page renders properly. But, when I go
> from B -> A, the A_controller.rb doesn't run again, so the array (@A) is nil
> (which causes a problem).
>
> Should the controller run each time the page is accessed? Any ideas?

If you send through some code samples someone might be able to help.

cheers,
Ben
This topic is locked and can not be replied to.