:include is used to specify join tables in the query.

On Mon, Sep 8, 2008 at 6:25 AM, Ganesh Kumar <gani_chinta / yahoo.com> wrote:
> Hi,
>   What is the use of :include in finding the results..
>
> for eg: c = Student.find(12,:include=>:department)
> if anybody knows the solution plz reply
> --
> Posted via http://www.ruby-forum.com/.
>
>