Displaying 3 results from an estimated 3 matches for "behond".
Did you mean:
behind
2006 Oct 05
0
ActiveRecord Validations - validates_uniqueness_of
...ot;}.merge(opts))
end
def test_person_should_validate_uniqueness_of_email
person = valid_person
person.save
assert_false valid_person.valid?
assert_true valid_person(:email => "b at b.com").valid?
person.destroy
end
Having the valid_foo shortcut helps immensely once you get behond a
handful of validations. As for the test itself, I''m cleaning up the
entry that does make it to the database, and preventing more potential
database hits by just calling valid? instead of save. I suppose I
could be a bit pedantic and create a new valid_person, call valid?,
and then chec...
2005 Nov 06
11
Ideal Rails / Apache config?
Hi All,
Just about to set up RoR on our server and was wondering what the
ideal setup for RoR is these days? Apache 1? Apache 2? fCgi?
Any guidance would be helpful!
Thanks,
-Adam
2007 Nov 20
1
Re: Different printer drivers ...
Greetings,
(Brief synopsis):
| This is an extenuation of "Non-registry problem: Slow printing"
|
| See:
| http://www.brightsands.com/~chris/quick.9.bz2 fast printer drivers loglvl=9
| http://www.brightsands.com/~chris/slow.9.bz2 slow printer drivers loglvl=9
| http://www.brightsands.com/~chris/smb.conf the smb.conf in use
|
| I have a sample Windows XP/SP2 client trying to