Forum: Rails France get the previous information of one user by the another by using the same controller

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.
B7a41107081a0a96a3df67417fc06f9e?d=identicon&s=25 Kapil K. (kapil_k)
on 2011-08-22 13:49
please tell me how to get the  information of one user by the
another with in the same controller? is it possible? please tell me the
solution with some example ?
and also tell me how to get the related information when the user using
the select list?

sir,
 i have two control panels one for mentor and another for student and i
have also one course controller with course table
 here mentor create the courses?

my task is student can select the courses which are created by the
mentor?
 here the mentor and the student are the separate users?

please tell me how to get the mentor courses by the student?

give me the solution with some code




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