similar to: Foreign Keys

Displaying 6 results from an estimated 6 matches similar to: "Foreign Keys"

2006 Apr 11
7
Undefined Method
Where can I define the method ''tbluser'' in this error? NoMethodError in Tblregisteredphone#list 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
2006 Apr 04
16
No Method Error
This is the error that keeps appearing. I don''t understand why "@tblusers" is not correct. Can anyone help? NoMethodError in Tblregisteredphone#new Showing app/views/tblregisteredphone/new.rhtml where line #20 raised: You have a nil object when you didn''t expect it! You might have expected an instance of Array. The error occured while evaluating nil.each Extracted
2006 Apr 07
2
Case Sensitivity and ID Field Naming
Hi, I am working with an existing database that has table and field names such as ''TblUsers'' and ''txtEmailAddress''. Is rails sensitive to the case of the letters here? or can I simply refer to these tables and fields as ''tblusers'' and ''txtemailaddress'' in my controllers ad rhtml files? Also, the database has id fields
2006 Apr 20
5
nil object when you didn''t expect it
Hi, I''m new to rails and 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:
2006 Apr 04
11
Date/Time format and syntax
Hi, Just wondering how I get both the current date and time to display here (so far I can only get the date OR the time): @tblregisteredphone.txtregisterdatetime = Date.today Also, how can I change the format of the date and time from: Tue Apr 04 00:00:00 GMT Daylight Time 2006 to 2006-04-04 12:04:00 ?? I''m sure it''s very simple, I just don''t know how
2006 Jan 19
1
[Newbie] undefined method `useremail'' error
Hi all, I''m just starting out... the solution to this must be really trivial but can''t figure out what''s wrong. I''m using Webrick + Rails 1.0 The error is: undefined method `useremail'' error What am I missing? Thanks, Lorenzo class User < ActiveRecord::Base set_table_name "\"tblUser\"" set_primary_key