On 20 Sep 2002, at 13:18, Matthew, Graeme wrote:

> 
> Im just not getting this !
> 
> What am I doing wrong here, this is taking way to long :-(
> 
> c:/dev/cgi-bin/Project.rb:80:in `DisplayProject': undefined method
> `projectName' for #<Project:0x25dfae0> (NameError)

This error message clearly says that there's no method called 
"projectName".

> 
> im now using instance variables
> 
> 
> def projectName=(val)
>   @projectName = val if val
>   return @projectName
> end

Here you define the method "projectName=" (note the trailing = 
character).

> 
> but its failing in my here document 
> 
> <tr><td>Name</td><td><input type="text" name="code"
> value="#{self.projectName}"></td></tr>

Here you call the method "projectName" (no = character).

HTH

Regards,
Pit