On Thu, Apr 28, 2011 at 2:06 PM, Sergio Ruiz wrote:
> i just ran into a problem with some test, and i am not exactly sure why,
> but the difference happened when i changed my model validation from:
>
> validate :custom_validation
>
> to:
>
> validate_on_create :custom_validation
>
> can someone g
thanks, nick.. i looks like i need to hunt around a bit more as to what
was causing my problem..
thanks!
--
Posted via http://www.ruby-forum.com/.
___
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users
On Thu, Apr 28, 2011 at 3:06 PM, Sergio Ruiz wrote:
> i just ran into a problem with some test, and i am not exactly sure why,
> but the difference happened when i changed my model validation from:
>
> validate :custom_validation
>
> to:
>
> validate_on_create :custom_validation
>
> can someone gi
i just ran into a problem with some test, and i am not exactly sure why,
but the difference happened when i changed my model validation from:
validate :custom_validation
to:
validate_on_create :custom_validation
can someone give me any ideas on where in the chain the validation takes
place?
th