Displaying 3 results from an estimated 3 matches for "bernag".
Did you mean:
bernat
2006 Feb 11
2
Session ID in a cookie?
I''ve been looking around for how to store the session ID in a cookie.
The "Agile Web Development with Rails" books seems to indicate that this
is done by default with Rails. But I don''t see a cookie being set in my
browser. (yeah, they''re enabled)
I poked through the RForum code to find something referencing "cookies"
but nothing came up.
Does
2006 Jan 20
0
How to update two records ?
I have problem to update personaldata accessing with/from @user.
''@debug @user'' shows that @user.personaldata attributes are properlly
modified, but ''@user.save'' saves only table users but not personaldatas
Is a problem with my associations? How to save personaldata with
@user.save ?
class User < ActiveRecord::Base
has_one :personaldata
end
class
2005 Sep 25
2
Problem issue with belongs_tohas_one and error_message_on
Hello
I have a problem with relationship with belongs_to - has_one and with
error_message_on
I have splitted one huge table users into two tables user and profile.
In users I''m keeping main fields like id,email,password and in profile there are
the rest of fields.
Table users:
id,email,password
Table profiles:
id,user_id,publicname, and more ...
My models are:
- user.rb
has_one