Siva_J
1
Is anybody else getting this warning.
When I change @user.id to @user.User_id I am getting no method
definition
present exception. Any thoughts?
Rgds,
–Siva J.
http://www.varcasa.com/
My First Rails Project. Powered by Typo and soon by RForum too
Siva_J
2
Siva J. wrote:
Is anybody else getting this warning.
When I change @user.id to @user.User_id I am getting no method
definition
present exception. Any thoughts?
in ruby (not rails) .id will be deprecated for .object_id
in rails .id will aways remain…
When you get this warning its probably because you somehow acess the
object outside of rails…
Siva_J
3
Make sure your @user is the correct class. When I encounter that
message,
it’s usually because the object calling “id” isn’t what I thought it
was.
Siva_J
4
mmm that could be the problem. I have User class that inherits Guest
class.
I will check and let this group know
On 1/26/06, Bill K. [email protected] wrote:
Rails mailing list
[email protected]
http://lists.rubyonrails.org/mailman/listinfo/rails
–
Rgds,
–Siva J.
http://www.varcasa.com/
My First Rails Project. Powered by Typo and soon by RForum too
Siva_J
5
I am just using it in my functional tests and application.rb. So i am
not
clear about your answer
On 1/26/06, Mikkel B. [email protected] wrote:
http://lists.rubyonrails.org/mailman/listinfo/rails
–
Rgds,
–Siva J.
http://www.varcasa.com/
My First Rails Project. Powered by Typo and soon by RForum too