The first line is including some instance methods into
ActionController::Base (from which ApplicationController inherits).
The second line then adds helper_name to the list of helpers available
to all controllers.
The final line does the same thing for the views.
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.