Official API of the framework. Provides an explanation of every class and functionality.
Link: api.rubyonrails.org
Sets the etag and/or last_modified on the response and checks it against the client request. If the request doesn’t match the options provided, the request is considered stale and should be generated from scratch. Otherwise, it’s fresh and we don’t need to generate anything and a repl...
Specifies a many-to-many relationship with another class. This associates two classes via an intermediate join table. Unless the join table is explicitly specified as an option, it is guessed using the lexical order of the class names. So a join between Developer and Project will give...
The Inflector transforms words from singular to plural, class names to table names, modularized class names to ones without, and class names to foreign keys. The default inflections for pluralization, singularization, and uncountable words are kept in inflections.rb. The Rails core te...
MessageVerifier makes it easy to generate and verify messages which are signed to prevent tampering. This is useful for cases like remember-me tokens and auto-unsubscribe links where the session store isn’t suitable or available. Remember Me: cookies[:remember_me] = @verifier.generate...
activesupport/lib/active_support/core_ext/array/access.rb activesupport/lib/active_support/core_ext/array/conversions.rb activesupport/lib/active_support/core_ext/array/extract_options.rb activesupport/lib/active_support/core_ext/array/grouping.rb activesupport/lib/active_support/core...
mb_chars is a multibyte safe proxy for string methods. In Ruby 1.8 and older it creates and returns an instance of the ActiveSupport::Multibyte::Chars class which encapsulates the original string. A Unicode safe version of all the String methods are defined on this proxy class. If the...
Returns a checkbox tag tailored for accessing a specified attribute (identified by method ) on an object assigned to the template (identified by object ). This object must be an instance object (@object) and not a local object. It’s intended that method returns an integer and if that ...
mb_chars is a multibyte safe proxy for string methods. In Ruby 1.8 and older it creates and returns an instance of the ActiveSupport::Multibyte::Chars class which encapsulates the original string. A Unicode safe version of all the String methods are defined on this proxy class. If the...