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

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

  • to_json (Hash)

    apidock.com 15 Jul '16, 12am

    also filter down to any hash values. This is particularly useful for converting hashes containing ActiveRecord objects or any object that responds to options in their

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

  • delete_if (Hash)

    apidock.com 26 Aug '16, 8pm

    Welcome Register Projects Help About Blog APIdock release: IRON STEVE (1.4) If you have any comments, ideas or feedback, feel free to contact us at APIdock copyright Nodeta Oy 2008-2016 Flowdock - Team Inbox With Chat for Software Developers Check out how the team behind APIdock conne...


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