search for: example_us

Displaying 2 results from an estimated 2 matches for "example_us".

Did you mean: example's
2009 Feb 28
7
be_valid (validates_format_of ..., :on => :create)
...ll check if model''s variable''s format is valid using :on => :create, like this: class User < ActiveRecord::Base ... validates_format_of :email, :with => /.../, :on => :create ... Using following code is not right: it "should ..." do @user = users(:example_user) @user.email = ''invalid_email_format'' @user.save @user.should_not be_valid end Even those code is not right: it "should ... " do @user = users(:example_user) @user.email = ''invalid_email_format'' @user.save @user.should be_valid e...
2016 Nov 11
0
How to Analyze Missing UIDs (and Files) in Maildirs?
...t dovecot doesn't have in the maildir anymore? ------- While looking into the above issue, I noticed that a large number of mailboxes (test as well as production) have UIDs that *are* listed in dovecot-uidlist, yet, no corresponding file is present anymore. Example: > # grep -c : *_realm/$EXAMPLE_USER/dovecot-uidlist > 58 > # grep : *_realm/$EXAMPLE_USER/dovecot-uidlist | sed -e '2,57d' -e 's/ .*//' > 1 > 152 > # for PAIR in `grep : *_realm/$EXAMPLE_USER/dovecot-uidlist | sed -e 's/ .*:/:/'` ; do > > IMAP_UID=`echo $PAIR | sed -e 's/:.*//'`;...