On Nov 3, 1:49 am, aaron
<aaronrobe...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
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.
Tables don''t belong to controllers. Any controller in your app can use
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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
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.