Displaying 1 result from an estimated 1 matches for "ralafapa".
Did you mean:
malafaia
2008 Jul 16
2
belongs_to causing endless loop on first call to save!
...ethod won''t have a
populated account_id on save!
card.account = account
#doing this causes the endless validation loop
account.current_payment_method = card
end
return account
end
Am I crazy for thinking this ought to work?
Thanks in advance,
Ryan Frith
ralafapa-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.o...