Frederick Cheung wrote:
> On 12 Dec 2008, at 17:03, James Byrne wrote:
> 
>> obtain the benefit of your collective experience.
> which gem ? You haven't really shown us anything much beyond what a
> standard scaffolded model would look like.
> What is the actual code responsible from the log excerpt you pasted
> below? In addition it would be helpful to see what happened before it
> got stuck in a loop.
> 
> Fred


I would rather not publicize the gem name since that might be taken as a 
public criticism.  I changed the users/new controller call from save to 
save! and what turned up was a bunch of model validation errors.  The 
loop was caused by the controller simply re-rendering the form when the 
save failed.  evidently there is some problem causing the the model 
validations to be checked before the input form template is rendered.  I 
have communicated this to the gem author.
-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
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 [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to