Working with 2 tables in a Controller

Hi,

CCH wrote:

sourcetable=Workplan.find(Param[:id])
# this where the 500 error is triggered

If you're trying to use a value in the params hash, the syntax would be... Workplan.find(params[:id])

HTH, Bill

Hi Bill

Thanx for pointing out the typo error !