邪恶巫师第一步回滚

时间:2013-10-04 16:46:08

标签: ruby-on-rails devise wizard wicked-gem

我已经开始使用rails应用程序并使用Group作为模型进行设置,而不是用户。我正在尝试扩展注册后向导以更新有关该组的一些信息。到目前为止我可以注册,在注册后转到第一步,但是当我提交向导的第一步时,它会在下面给出这个输出。奇怪的是它正在回滚,但我不确定是什么导致了这一点。这里有几个文件的要点:https://gist.github.com/DevanB/6828942

我已经多次抓取并重新启动,但总是相同的结果。任何意见将是有益的!谢谢Stack!

Started PUT "/after_register/group_info" for 127.0.0.1 at 2013-10-04 11:42:20 -0500
Processing by AfterRegisterController#update as HTML
 Parameters: {"utf8"=>"✓", "authenticity_token"=>"T1kQN0Nn83/ti86EzAifb5w6ASVKTdD0fLvOIIxHYv0=", "group"=>{"address"=>"1234 Test Street", "city"=>"Timbuktu", "state"=>"AL", "zip"=>"35096", "phone"=>"1 (234) 567-8900", "fax"=>"1 (234) 567-8900"}, "commit"=>"Next", "id"=>"group_info"}
Group Load (0.3ms)  SELECT `groups`.* FROM `groups` WHERE `groups`.`id` = 14 LIMIT 1
 (0.1ms)  BEGIN
 (0.1ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.1ms)  ROLLBACK
Rendered after_register/group_info.html.erb within layouts/application (7.2ms)
Rendered layouts/_header.html.erb (0.6ms)
Rendered layouts/_footer.html.erb (0.1ms)
Completed 200 OK in 49ms (Views: 43.5ms | ActiveRecord: 0.6ms)

0 个答案:

没有答案