join query

Subhadip Chakraborty wrote:

hello i am new in ruby on rails..i will want to know how we write join query in ruby on rails,and how we define relationship between two tables in ruby on rails..(like belongs_to,has_many etc) can anyone provide simple code or url,its urgent..

At some point, you need to break down and actually "READ" something on Ruby on Rails... there are a bazillion tutorials out there that walk through the basics, including parent-child relationships and how to use them...

# Table name: projects