Displaying 1 result from an estimated 1 matches for "43188408f875847139da97816c80254c".
2006 Jul 13
3
Validation question
If I am validating an object before it is saved and do a find(:all) of
that object class, will the object which is being validated be returned
by
the find method?
something like:
class Resource < ActiveRecord::Base
def validate
resources = Resource.find(:all)
..do stuff
end
Will the object I am validating be in the ''resources'' array?
Thanks in advance,
Don Mc
--