Skip to content

Home

walterdavis edited this page Feb 8, 2012 · 7 revisions
Clone this wiki locally

Rails Reserved Words

Please visit the Heroku app where all of this is searchable and so forth.

This list is from the Cheat Sheets site, and probably from the 2.x era, and there's a distinct lack of newer canonical references for this simple question. Please add or edit as you see fit. I will sort the list once a day.

  • ADDITIONAL_LOAD_PATHS
  • ARGF
  • ARGV
  • ActionController
  • ActionView
  • ActiveRecord
  • ArgumentError
  • Array
  • BasicSocket
  • Benchmark
  • Bignum
  • Binding
  • CGI
  • CGIMethods
  • CROSS_COMPILING
  • Class
  • ClassInheritableAttributes
  • Comparable
  • ConditionVariable
  • Config
  • Continuation
  • DRb
  • DRbIdConv
  • DRbObject
  • DRbUndumped
  • Data
  • Date
  • DateTime
  • Delegater
  • Delegator
  • Digest
  • Dir
  • ENV
  • EOFError
  • ERB
  • Enumerable
  • Errno
  • Exception
  • FALSE
  • FalseClass
  • Fcntl
  • File
  • FileList
  • FileTask
  • FileTest
  • FileUtils
  • Fixnum
  • Float
  • FloatDomainError
  • GC
  • Gem
  • GetoptLong
  • Hash
  • IO
  • IOError
  • IPSocket
  • IPsocket
  • IndexError
  • Inflector
  • Integer
  • Interrupt
  • Kernel
  • LN_SUPPORTED
  • LoadError
  • LocalJumpError
  • Logger
  • Marshal
  • MatchData
  • MatchingData
  • Math
  • Method
  • Module
  • Mutex
  • Mysql
  • MysqlError
  • MysqlField
  • MysqlRes
  • NIL
  • NameError
  • NilClass
  • NoMemoryError
  • NoMethodError
  • NoWrite
  • NotImplementedError
  • Numeric
  • OPT_TABLE
  • Object
  • ObjectSpace
  • Observable
  • Observer
  • PGError
  • PGconn
  • PGlarge
  • PGresult
  • PLATFORM
  • PStore
  • ParseDate
  • Precision
  • Proc
  • Process
  • Queue
  • RAKEVERSION
  • RELEASE_DATE
  • RUBY
  • RUBY_PLATFORM
  • RUBY_RELEASE_DATE
  • RUBY_VERSION
  • Rake
  • RakeApp
  • RakeFileUtils
  • Range
  • RangeError
  • Rational
  • Regexp
  • RegexpError
  • Request
  • RuntimeError
  • STDERR
  • STDIN
  • STDOUT
  • ScanError
  • ScriptError
  • SecurityError
  • Signal
  • SignalException
  • SimpleDelegater
  • SimpleDelegator
  • Singleton
  • SizedQueue
  • Socket
  • SocketError
  • StandardError
  • String
  • StringScanner
  • Struct
  • Symbol
  • SyntaxError
  • SystemCallError
  • SystemExit
  • SystemStackError
  • TCPServer
  • TCPSocket
  • TCPserver
  • TCPsocket
  • TOPLEVEL_BINDING
  • TRUE
  • Task
  • Text
  • Thread
  • ThreadError
  • ThreadGroup
  • Time
  • Transaction
  • TrueClass
  • TypeError
  • UDPSocket
  • UDPsocket
  • UNIXServer
  • UNIXSocket
  • UNIXserver
  • UNIXsocket
  • UnboundMethod
  • Url
  • VERSION
  • Verbose
  • YAML
  • ZeroDivisionError
  • type

Common Gems Reserved Words

Please add another list for words reserved by a particular Gem.

Something went wrong with that request. Please try again.