Ishara Gunathilake wrote: > i have a table called "confirm_clients",there are 3columns,they are > t.column :user_id, :string > t.column :msg_id, :string > t.column :confirm, :boolean > > i want to check whether the boolean value of confirm is true > when a given user_id and msg_id,plz can anyone how can i do it
try to use "before_save" in model class -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

