search for: txtforenam

Displaying 3 results from an estimated 3 matches for "txtforenam".

Did you mean: txtforename
2006 Apr 20
5
nil object when you didn''t expect it
...nd finding it hard to figure out what this error is referring to. Can anyone help please?!! NoMethodError in Registeredphone#list Showing app/views/registeredphone/list.rhtml where line #24 raised: You have a nil object when you didn''t expect it! The error occured while evaluating nil.txtForename Extracted source (around line #24): 21: </font> 22: </td> 23: <td> 24: <%= link_to registeredphone.user.txtForename, 25: :action => "list", 26: :user => "#{registeredphone.user.txtForename}" %> 27: </td> Thanks, Ala...
2006 Apr 04
16
No Method Error
...ating nil.each Extracted source (around line #20): 17: <p> 18: <b>User:</b><br/> 19: <select name="tblregisteredphone[tbluser_id]"> 20: <% @tblusers.each do |tbluser| %> 21: <option value="<%= tbluser.id %>" 22: <%= tbluser.txtforename %> 23: </option> RAILS_ROOT: ./script/../config/.. Application Trace | Framework Trace | Full Trace #{RAILS_ROOT}/app/views/tblregisteredphone/new.rhtml:20 Alana -- Posted via http://www.ruby-forum.com/.
2006 Apr 11
7
Undefined Method
...t Showing app/views/tblregisteredphone/list.rhtml where line #23 raised: undefined method `tbluser'' for #<Tblregisteredphone:0x375c778> Extracted source (around line #23): 20: </font> 21: </td> 22: <td> 23: <%= link_to tblregisteredphone.tbluser.txtForename, 24: :action => "list", 25: :tbluser => "#{tblregisteredphone.tbluser.txtForename}" %> 26: </td> The tblregisteredphones model and controller are as follows: Model: class Tblregisteredphone < ActiveRecord::Base set_table_name "tblregisteredpho...