I defined the aggregation name of first_name and last_name as
recommended, works fine but I’d like to know if it’s possible (and how)
to use it in a find condition …
@full_name =“Georges Washington”
@person = User.find(:all , :conditions => [“name LIKE ?”, @full_name"]
#doesn’t run
I also tried
@person = User.find( :all, :conditions => ["(first_name||last_name) =
?", @ full_name]) #doesn’t run
is it possible ?
kad