[Rails] Re: No Method Error

David Thomson
Tue, 04 Apr 2006 10:54:29 -0000

On 04/04/06, Alana <alana@c4l.co.uk> wrote:
> The code for my "new" method in the controller is as follows:
>
>         def new
>                 @tblregisteredphone = Tblregisteredphone.new
>                 @tbluser = Tbluser.find_all
>         end
>

Ah - the problem is that you set @tbluser in your controller, but then
use @tblusers in the view! Pretty easy to fix :-)

David