APIdock: Front page

Flowdock. Choose a project. Rspec_icon_80. RSpec. Behaviour Driven Development framework for Ruby. 6 imported versions - 23 notes - Browse - Search ...

Link: apidock.com

  • ActiveSupport::Subscriber

    apidock.com 30 May '17, 5pm

    ActiveSupport::Subscriber is an object set to consume ActiveSupport::Notifications . The subscriber dispatches notifications to a registered object based on its given namespace. An example would be Active Record subscriber responsible for collecting statistics about queries: module Ac...

  • to_json (ActiveRecord::Serialization)

    apidock.com 30 Jun '17, 4pm

    ActiveRecord::Base.include_root_in_json controls the top-level behavior of to_json . In a new Rails application, it is set to true in initializers/new_rails_defaults.rb. When it is true, to_json will emit a single root node named after the object’s type. For example:

  • respond_to? (Object)

    apidock.com 12 Jun '17, 1am

    Returns true if obj responds to the given method . Private methods are included in the search only if the optional second parameter evaluates to true . If the method is not implemented, as Process.fork on Windows, File.lchmod on GNU/Linux, etc., false is returned. If the method is not...

  • attachment (ActionMailer::PartContainer)

    apidock.com 06 Mar '17, 3am

    attachments and implicit multipart There is a small gotcha - this caught me up for a while. If you are using implicit multipart mime types by naming your template xxx.text.html.erb and xxx.text.plain.erb, you will need to change your template name back to the original xxx.erb. If you ...

  • is_a? (ActiveSupport::Duration)

    apidock.com 02 Mar '17, 2pm

    This method has no description. You can help the Ruby on Rails community by adding new notes.

  • mattr_accessor (Module)

    apidock.com 30 Apr '17, 4am

    If a subclass changes the value then that would also change the value for parent class. Similarly if parent class changes the value then that would change the value of subclasses too.

  • Net::HTTP

    apidock.com 28 Apr '17, 9pm

    For example, all 2XX responses are instances of a Net::HTTPSuccess subclass, a 3XX response is an instance of a Net::HTTPRedirection subclass and a 200 response is an instance of the Net::HTTPOK class. For details of response classes, see the section “HTTP Response Classes” below.

  • source_location (Method)

    apidock.com 19 Feb '17, 4pm

    source filename and line number containing this method or nil if this method was not defined in


Ruby on Rails API
Ruby-Doc.org: Documenting the Ruby Language
RubyDoc.info - Library Listing
RailsCasts: Ruby on Rails Screencasts
Ruby Inside: The Ruby Blog
Parasite Control with the MMS Miracle Mineral Supplement