From: dblack@... Date: 2006-08-12T03:19:56+09:00 Subject: Re: good writing in Ruby... Hi -- On Sat, 12 Aug 2006, Justin Collins wrote: > Josselin wrote: >> >> I'll test it, values in array are strings : 'god', 'administrator', >> ''manager', 'owner', 'customer' >> exclusion is based on a prority order >> if current_user role is 'god' then exclude 'god' (there can be only one >> god) > > It's a monotheistic system then? ;) But the customer is always right :-) David -- http://www.rubypowerandlight.com => Ruby/Rails training & consultancy ----> SEE SPECIAL DEAL FOR RUBY/RAILS USERS GROUPS! <----- http://dablog.rubypal.com => D[avid ]A[. ]B[lack's][ Web]log http://www.manning.com/black => book, Ruby for Rails http://www.rubycentral.org => Ruby Central, Inc.