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

  • memoize (ActiveSupport::Memoizable)

    apidock.com 27 Sep '14, 6pm

    # include InstanceMethods # if method_defined?(:#{original_method}) # if method_defined?(:_unmemoized_mime_type) raise "Already memoized #{symbol}" # raise "Already memoized mime_type" end # end alias #{original_method} #{symbol} # alias _unmemoized_mime_type mime_type # if instance_m...

  • crypt (String)

    apidock.com 02 Aug '14, 4pm

    From the man page: If salt is a character string starting with the characters “$id$” followed by a string terminated by “$”: $id$salt$encrypted then instead of using the DES machine, id identifies the encryption method used and this then determines how the rest of the password string ...

  • has_many (ActiveRecord::Associations::ClassMethods)

    apidock.com 27 Jul '14, 7am

    Specifies an association through which to perform the query. This can be any other type of association, including other :through associations. Options for :class_name, :primary_key and :foreign_key are ignored, as the association uses the source reflection. If the association on the j...

  • const_set (Module)

    apidock.com 03 Jul '14, 9pm

    Sets the named constant to the given object, returning that object. Creates a new constant if no constant with the given

  • validates_with (ActiveModel::Validations::ClassMethods)

    apidock.com 20 May '14, 4am

    :on - Specifies when this validation is active (:create or :update . :if - Specifies a method, proc or string to call to determine if the validation should occur (e.g. if: :allow_validation, or if: Proc.new { |user| user.signup_step > 2 } ). The method, proc or string should return or...

  • inheritance_column (ActiveRecord::ModelSchema::ClassMethods)

    apidock.com 28 Apr '14, 9am

    Defines the name of the table column which will store the class name on single-table inheritance situations. The default inheritance column name is type, which means it’s a reserved word inside Active Record . To be able to use single-table inheritance with another column name, or to ...

  • layout (AbstractController::Layouts::ClassMethods)

    apidock.com 26 May '14, 8am

    Specify the layout to use for this class. If the specified layout is a: String the String is the template name Symbol call the method specified by the symbol, which will return the template name false There is no layout true raise an ArgumentError nil Force default layout behavior wit...

  • alias_attribute (Module)

    apidock.com 19 Apr '14, 4pm

    Deprecated - replacement method The description rightly lists this as deprecated, but using it will still work atm, as it seems to have moved to ActiveSupport::CoreExtensions::Module instead. So your code should still work.


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