Apidock.com
#12

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

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

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

  • 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

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

  • composed_of (ActiveRecord::Aggregations::ClassMethods)

    apidock.com 21 Jan '15, 9am

    :class_name - Specifies the class name of the association. Use it only if that name can’t be inferred from the part id. So composed_of :address will by default be linked to the Address class, but if the real class name is CompanyAddress, you’ll have to specify it with this option. :ma...

  • changed_for_autosave? (ActiveRecord::AutosaveAssociation)

    apidock.com 25 Dec '14, 2am

    Returns whether or not this record has been changed in any way (including whether any of its nested autosave associations are likewise changed) Show source # File activerecord/lib/active_record/autosave_association.rb, line 253 def changed_for_autosave? new_record? || changed? || mark...

  • to_sentence (Array)

    apidock.com 02 Jan '14, 11pm

    Converts the array to a comma-separated sentence where the last element is joined by the connector word. Options: :words_connector - The sign or word used to join the elements in arrays with two or more elements (default: “, ”) :two_words_connector - The sign or word used to join the ...

Related

api.rubyonrails.org
Ruby on Rails API
ruby-doc.org
Ruby-Doc.org: Documenting the Ruby Language
rubydoc.info
RubyDoc.info - Library Listing
railscasts.com
RailsCasts: Ruby on Rails Screencasts
rubyinside.com
Ruby Inside: The Ruby Blog
railsbrain.com
Parasite Control with the MMS Miracle Mineral Supplement