resources

resources(*resources, &block) Instance Public methods In Rails, a resourceful route provides a mapping between HTTP verbs and URLs and controller actions. By convention, each action also maps to particular CRUD operations in a database. A single entry in the routing file, such as resources :photos creates seven different routes in your application, all mapping to the Photos controller: GET /photos GET /photos/new POST /photos GET /photos/:id GET /p

initialize_dup

initialize_dup(other) Instance Public methods

call

call(*args) Instance Public methods

new

new(files, dirs={}, &block) Class Public methods It accepts two parameters on initialization. The first is an array of files and the second is an optional hash of directories. The hash must have directories as keys and the value is an array of extensions to be watched under that directory. This method must also receive a block that will be called once a path changes. The array of files and list of directories cannot be changed after FileUpdateChecker has been initialized.

readonly_attributes

readonly_attributes() Instance Public methods Returns an array of all the attributes that have been specified as readonly.

ago

ago(time = ::Time.current) Instance Public methods Calculates a new Time or Date that is as far in the past as this Duration represents. until

proxy_association

proxy_association() Instance Public methods

partial_formats_html

partial_formats_html() Instance Public methods

at_beginning_of_day

at_beginning_of_day() Instance Public methods Alias for: beginning_of_day

conditional_hello_with_public_header_with_record

conditional_hello_with_public_header_with_record() Instance Public methods