Can some one explain the code snippet given below in ruby ?

Posted by Vamsi on Stack Overflow See other posts from Stack Overflow or by Vamsi
Published on 2010-05-17T11:20:35Z Indexed on 2010/05/17 11:30 UTC
Read the original article Hit count: 297

Filed under:
|
class ApplicationController < ActionController::Base
  class InvalidParam < StandardError;end
end

What is the reason for including another class inside application controller?? What will be the behavior for other controllers?

© Stack Overflow or respective owner

Related posts about ruby-on-rails

Related posts about rails