On Wed, Oct 29, 2008 at 12:39 AM, raul parolari <[EMAIL PROTECTED]> wrote:
>
[snip]
> In any case, I don't understand the final comment when you say that you are
> stuck. Let me know what the problem is, so that I can help
>
Hi Raul,
I'm a bit short of time and this can only have bad result on my English ;-)
But, what I was referring to with the "I'm stuck" comment was due to a
misunderstanding I have with the validation parameter ":on=>:create".
Initially I thought that this can instruct the AR to validate the
object on the Creation:
user = User.new() <--- this call validation with ":on=>:create"
user.save <-- this call validation with default or ":on=>:save"

well... obviously I was wrong, but it takes me some time to understand
what the ":on=>:create" does.

Best regards, and thanks again for the conversation.

Pietro

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "ruby-on-rails-programming-with-passion" group.
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/ruby-on-rails-programming-with-passion?hl=en?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to