Ali, Before you are trying out in the view, use the console and try out that what you want to with the models. using ruby script/console in the project directory.
Then go step by step with the views. Go through the tutorials first. We can not teach you basics here. On 23 June 2010 18:59, Ali Imran <[email protected]> wrote: > There is no relationship between models. but i only have one > controller and trying to control two models with it > > it is possible.. > > > On Jun 23, 11:56 am, Fernando Brito <[email protected]> wrote: > > Hm, why are you using <% %>? Is this code in your viewer? > > Do you have a column "catid" for your model Category? > > > > Could you please describe better what your models look like and what kind > of > > relationship do they have between them? > > > > Thanks, > > Fernando Brito > > -- > 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 [email protected]. > To unsubscribe from this group, send email to > [email protected]<rubyonrails-talk%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en. > > -- -- Nandri(Thanks in Tamil), Amala Singh -- 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 [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

