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 -- 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---