search for: tbluser

Displaying 5 results from an estimated 5 matches for "tbluser".

Did you mean: bluser
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.eac...
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:...
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 name...
2006 Apr 11
1
Foreign Keys
Hi, My tables are as follows: "tblusers" - primary key "TblUsersID" "tblregisteredphones" - primary key "TblRegisteredPhonesID" - foreign key "intUserID" My models are as follows: class Registeredphone < ActiveRecord::Base set_table_name "tblregiste...
2006 Jan 19
1
[Newbie] undefined method `useremail'' error
...he 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 "UserID" validates_presence_of :useremail, :userpassword validates_confirmation_of :userpassword end class UserController < ApplicationController def register if request.get? @user = User.new elsif request.post? and @user.save...