Colin Law wrote: > 2009/9/14 Kendall Buchanan <[email protected]>: >>> code here. >> �...@payment_application = >> @activity.payment_applications.new(params[:payment_application]) >> >> respond_to do |format| >> if @payment_application.save > > I don't know if it is a factor but I have never tried putting the save > inside the respond_to. The first thing I would do is to take it out to > see if that is a factor. Unless you know it is not that. > > How do you know that valid? is failing at this point? > > Colin
Well, that's pretty standard for REST controllers. Alls I do is output @payment_application.valid? and I get 'false' while the record is still getting saved. -- 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 -~----------~----~----~----~------~----~------~--~---

