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

  • 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.

  • 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

  • group_by (Enumerable)

    apidock.com 04 Feb '17, 1am

    * * call-seq: * enum.group_by {| obj | block } => a_hash * * Returns a hash, which keys are evaluated result from the * block, and values are arrays of elements in <i>enum<

  • assert_valid_keys (Hash)

    apidock.com 19 Dec '16, 7am

    Note that keys are treated differently than HashWithIndifferentAccess, meaning that string and symbol keys will not match.

  • ids (ActiveRecord::Calculations)

    apidock.com 15 Oct '16, 7pm

    Pluck all the ID’s for the relation using the table’s primary key Person . ids # SELECT people.id FROM people Person . joins ( :companies ). ids # SELECT people.id FROM people INNER JOIN companies ON companies.person_id = people.id Show source # File activerecord/lib/active_record/rel...

  • create_join_table (ActiveRecord::ConnectionAdapters::SchemaStatements)

    apidock.com 24 Apr '16, 10pm

    Creates a new join table with the name created using the lexical order of the first two arguments. These arguments can be a String or a Symbol . # Creates a table called 'assemblies_parts' with no id. create_join_table ( :assemblies , :parts ) You can pass a options hash can include t...

  • html_safe (String)

    apidock.com 16 Jun '15, 8pm

    Marks a string as trusted safe. It will be inserted into HTML with no additional escaping performed. It is your responsibilty to ensure that the string contains no malicious content. This method is equivalent to the `raw` helper in views. It is recommended that you use `sanitize` inst...


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