On Nov 3, 1:49 am, aaron wrote:
I'm kind of new to RoR so this may be a stupid question, but is there
any way to pull data associated with one controller into the view of
another?
For example if I have 2 controllers, AController and BController and I
have a table in my database for AController with the value Text, can I
pull the data from AController.Text into a BController view?
Let me know if you need any more information, Thanks.
I'm kind of new to RoR so this may be a stupid question, but is there
any way to pull data associated with one controller into the view of
another?
For example if I have 2 controllers, AController and BController and I
have a table in my database for AController with the value Text, can I
pull the data from AController.Text into a BController view?
Let me know if you need any more information, Thanks.
any of the models it needs to.
Fred
--
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 rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.