Forum: Ruby on Rails what are these called?

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.
775b1c27ba2dcbd4c26438b8a557f0a2?d=identicon&s=25 Bahadır Doğan (xyzt)
on 2007-07-23 00:47
Hello,

I've looking at a tutorial in a web page and i saw a sample:

  def logout
    session[:user] = nil
    redirect_to :controller => :user, :action => :index
  end

  def register
    if request.post?
      @user = User.new(params[:user])
      if @user.save
        redirect_to :action => :account_creation_success, :id => @user
      end
    end
  end

i want to learn the names of these to search and learn about them?

        ":index" and ":account_creation_success"

what are they called?
C7669e8b5676f61fdf202230cbcf72d8?d=identicon&s=25 Mikkel Bruun (mikkel)
on 2007-07-23 09:20
:index and :whatever are called symbols.

The Pickaxe book discusses there in depth.
Ef0db53920b243d6758c2f6b1306df0d?d=identicon&s=25 Steve Ross (cwd)
on 2007-07-26 00:46
(Received via mailing list)
This code might not work. These are just symbols, but Rails has
always insisted on strings for controller and action names.
This topic is locked and can not be replied to.