Hi,
I didn't mean both controllers reprecenting the same data, I meaned X's
primary key is a foreing key in Y. need to seach both tables at onces
and display both tables record in a form.
Thanks.
Colin Law wrote:
> On 29 March 2010 12:13, Nipuna Weerasinghe <lists@ruby-forum.com> wrote:
>> are reprecenting the same data.
> I think maybe you need get some basic rails knowledge. I suggest you
> have a look at the rails guides at http://guides.rubyonrails.org/,
> Start with Getting Started (obviously). To help with your problem
> then look at ActiveRecord relationships. Then look through the
> others. It is not that I do not want to answer your question
> directly, but I think that you have some fundamental ideas wrong which
> would be sorted by working through the guides.
>
> Colin
--
Posted via http://www.ruby-forum.com/.
--
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.
No comments:
Post a Comment