i have seperate tables called "messages" and "replies"
in messages,attributes are
         t.column :user_id, :string
      t.column :msg_id, :string
      t.column :inbox, :boolean
      t.column :sent, :boolean

in repliest, attributes are
         t.column :user_id, :string
      t.column :msg_id, :string
      t.column :name, :string
      t.column :address, :string

when a user filled a form the name and address will be save
on replies table.at that instance i want to set the value true
in the sent column of the messages table. how can i do this?

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to