Home
Position: 主页>ruby>

Help w/ errors.add_to_base between controller and model

Time:2010-01-22 03:24soucre:未知 作者:admin click:clicks
Help w/ errors.add_to_base between controller and model Hello, I'm having trouble in routing some errors between model and controller. The errors produced in the controller (invite_controller.rb) are collected and spit out nicely in a flash[:validate]

   Help w/ errors.add_to_base between controller and model

Hello,

I'm having trouble in routing some errors between model and
controller. The errors produced in the controller
(invite_controller.rb) are collected and spit out nicely in a
flash[:validate] method as such:

Expand|Select|Wrap|Line Numbers

------line----------------------------
Recommend
Hottest