search for: failableactionopt

Displaying 1 result from an estimated 1 matches for "failableactionopt".

2008 Mar 16
3
undefined method `redirect_to'
...ct_to :back end end and class CommentsController < ApplicationController resource_controller belongs_to :post, :article, :photo create do ActionController::Base.redirect_to :back end end and getting: undefined method `redirect_to'' for #<ResourceController::FailableActionOptions:0x4b05b90> What am I doing wrong? According to api.rubyonrails.com, redirect_to belongs to ActionController::Base [1] Any guess? Thanks, davi vidal [1] - http://api.rubyonrails.com/classes/ActionController/Base.html#M000456 --~--~---------~--~----~------------~-------~--~----~ You...