Just a simple of question of when do validations get called? Do they get
called on save or new or do they get called whenever an instance of that
object gets called? Thanks,
-S
Just a simple of question of when do validations get called? Do they get
called on save or new or do they get called whenever an instance of that
object gets called? Thanks,
-S
On 26 Nov 2007, at 17:43, Shandy N. wrote:
Just a simple of question of when do validations get called? Do they
get
called on save or new or do they get called whenever an instance of
that
object gets called? Thanks,
When the object is saved. You can also call valid? to see if an object
is valid.
Fred
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs