Hi everyone,
  i have 20 fields in users table.
  in my admin profile module the admin can modify his infomation.
  but only 12 fields he can able to modify.
  for the users email field is not mandatory.but for admin email is a
mandatory field.
  how can i use the validates_presence_of method under this requirement.
  pls help
-- 
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to