I have a rails model object where i am checking for presence of whether some select attribute values are present or not.
For example lets say person model has fname, lname, age attributes.How can i check for the presence of fname, lname alone not being blank or null, For instance i know that we can do something like person.fname.present? && person.lname.present?
but is there a more concise and ruby-friendly way to do the same?