On Dec 11, 2011, at 4:55 PM, Drammy wrote: > Hi all, > > I have a custom validation that is working by preventing records from > being added to the database when the test fails however I don't get an > error message on the page as I am using auto_actions_for to create > records from another page. > > No matter whether the validate method passes or fails it always > navigates to a summary page, however if the validate method passes I > get a "the record has been added successfully" message. > > Anyone come across this before?
Just to clarify: this is a case where you've got: auto_actions_for :something, :create in your controller and an embedded form? Sounds like this bug: https://hobo.lighthouseapp.com/projects/8324/tickets/912 which still hasn't been sorted out... --Matt Jones -- You received this message because you are subscribed to the Google Groups "Hobo Users" 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/hobousers?hl=en.
