Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | | | | | add :nodoc: directives to ActiveModel Sanitizers [ci skip] | Francesco Rodriguez | 2012-07-29 | 1 | -4/+4 | |
| | | | | | | ||||||
| * | | | | | fix class reference in AM::MassAssignmentSecurity documentation [ci skip] | Francesco Rodriguez | 2012-07-29 | 1 | -3/+3 | |
| | | | | | | ||||||
| * | | | | | update ActiveModel::Validations::Callbacks documentation [ci skip] | Francesco Rodriguez | 2012-07-29 | 1 | -18/+69 | |
| | | | | | | ||||||
| * | | | | | update #validates and #validates! documentation [ci skip] | Francesco Rodriguez | 2012-07-29 | 1 | -31/+43 | |
| | | | | | | ||||||
| * | | | | | update ActiveModel::Valdations#validates_with docs [ci skip] | Francesco Rodriguez | 2012-07-29 | 1 | -16/+18 | |
| | | | | | | ||||||
| * | | | | | update ActiveModel::Validations docs [ci skip] | Francesco Rodriguez | 2012-07-29 | 2 | -36/+127 | |
| | | | | | | ||||||
| * | | | | | update ActiveModel::Validator docs [ci skip] | Francesco Rodriguez | 2012-07-29 | 2 | -11/+11 | |
| | | | | | | ||||||
| * | | | | | update ActiveModel::SecurePassword docs [ci skip] | Francesco Rodriguez | 2012-07-29 | 1 | -18/+38 | |
| | | | | | | ||||||
| * | | | | | add example to ActiveModel::StrictValidationFailed [ci skip] | Francesco Rodriguez | 2012-07-28 | 1 | -0/+13 | |
| | | | | | | ||||||
| * | | | | | add example to ActiveModel::MissingAttributeError [ci skip] | Francesco Rodriguez | 2012-07-28 | 1 | -0/+8 | |
| | | | | | | ||||||
| * | | | | | update ActiveModel::MassAssignmentSecurity docs [ci skip] | Francesco Rodriguez | 2012-07-28 | 1 | -65/+177 | |
| | | | | | | ||||||
| * | | | | | add example to ActiveModel::Naming#model_name [ci skip] | Francesco Rodriguez | 2012-07-27 | 1 | -0/+8 | |
| | | | | | | ||||||
| * | | | | | fix AM::Naming examples [ci skip] | Francesco Rodriguez | 2012-07-27 | 1 | -12/+12 | |
| | | | | | | ||||||
| * | | | | | update to_param docs [ci skip] | Francesco Rodriguez | 2012-07-27 | 1 | -2/+5 | |
| | | | | | | ||||||
| * | | | | | Revert "Removed reference to composed_of." | Rafael Mendonça França | 2012-07-27 | 1 | -0/+3 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit c34c1916d1d6cd6ba219aa39eb97fa2e77c4c61f. Reason: composed_of was added from now to discuss better | |||||
| * | | | | | use 'HTTP_AUTHORIZATION' instead of :authorization as key when dealing with ↵ | Francesco Rodriguez | 2012-07-27 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | | | | | | | HTTP Token authentication in integration tests | |||||
| * | | | | | Update performance testing guide [ci skip] | Francesco Rodriguez | 2012-07-24 | 1 | -78/+152 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Update test templates. * Remove some 1.8 references. * Update guide format to be easier for contributors. | |||||
| * | | | | | Removed reference to composed_of. | Steve Klabnik | 2012-07-23 | 1 | -3/+0 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It was previously removed from the code, so we shouldn't mention it in the docs | |||||
| * | | | | | fix removed ruby tag in commit 890b9dd [ci skip] | Francesco Rodriguez | 2012-07-22 | 1 | -4/+5 | |
| | | | | | | ||||||
| * | | | | | added 2 strategies for extending engine models | Weston Platter | 2012-07-22 | 1 | -1/+78 | |
| | | | | | | ||||||
| * | | | | | tiny mistake in description | dm1try | 2012-07-22 | 1 | -1/+1 | |
| | | | | | | ||||||
| * | | | | | add :nodoc: directive to AM::ObserverArray internal methods [ci skip] | Francesco Rodriguez | 2012-07-22 | 1 | -10/+10 | |
| | | | | | | ||||||
* | | | | | | Merge pull request #7260 from thomasklemm/patch-1 | Vijay Dev | 2012-08-04 | 1 | -1/+1 | |
|\ \ \ \ \ \ | |_|/ / / / |/| | | | | | Update Migration Docs: Defaults for Boolean Fields | |||||
| * | | | | | Update Migration Docs: Defaults for Boolean Fields | Thomas Klemm | 2012-08-04 | 1 | -1/+1 | |
|/ / / / / | | | | | | | | | | | A Boolean field will accept true or false as defaults instead of 0 / 1. | |||||
* | | | | | Make ActiveRecord::Model::DeprecationProxy work better | Jon Leighton | 2012-08-03 | 3 | -22/+55 | |
| | | | | | | | | | | | | | | | | | | | | Closes #6600 | |||||
* | | | | | Update the docs to reflect the new association API | Jon Leighton | 2012-08-03 | 2 | -462/+385 | |
| | | | | | ||||||
* | | | | | Merge pull request #7253 from acapilleri/lenght_validator_errors_options | Rafael Mendonça França | 2012-08-03 | 1 | -2/+2 | |
|\ \ \ \ \ | | | | | | | | | | | | | calculate errors_options one time in validate_each | |||||
| * | | | | | calculate errors_options one time in validate_each | Angelo Capilleri | 2012-08-03 | 1 | -2/+2 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | errors_options is calculated for every *CHECKS* but it could be calculated one time because options and RESERVED_OPTIONS not change during this cycle | |||||
* | | | | | | Add test select_tag escapes prompt | Santiago Pastorino | 2012-08-03 | 1 | -0/+6 | |
| | | | | | | ||||||
* | | | | | | Use content_tag here instead of manually building HTML | Santiago Pastorino | 2012-08-03 | 1 | -2/+6 | |
| | | | | | | ||||||
* | | | | | | Don't eager load all this | Santiago Pastorino | 2012-08-03 | 1 | -32/+33 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some are loaded from Base which is loaded when a model inherits from it and some others are used in rake tasks | |||||
* | | | | | | Remove ActiveRecord::Base.to_a | Jon Leighton | 2012-08-03 | 18 | -64/+55 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On reflection, it seems like a bit of a weird method to have on ActiveRecord::Base, and it shouldn't be needed most of the time anyway. | |||||
* | | | | | | reinstate changelog that seems to have been accidentally deleted o_O | Jon Leighton | 2012-08-03 | 1 | -0/+19 | |
| | | | | | | ||||||
* | | | | | | Allow Relation#merge to take a proc. | Jon Leighton | 2012-08-03 | 3 | -2/+37 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This was requested by DHH to allow creating of one's own custom association macros. For example: module Commentable def has_many_comments(extra) has_many :comments, -> { where(:foo).merge(extra) } end end class Post < ActiveRecord::Base extend Commentable has_many_comments -> { where(:bar) } end | |||||
* | | | | | | make sure the body finishes rendering before checking response closure | Aaron Patterson | 2012-08-03 | 1 | -1/+2 | |
| | | | | | | ||||||
* | | | | | | Merge pull request #7231 from armanddp/no_content | Rafael Mendonça França | 2012-08-02 | 3 | -8/+38 | |
|\ \ \ \ \ \ | | | | | | | | | | | | | | | Remove single character body in head(:no_content) response | |||||
| * | | | | | | Collapsed dual checks (one for content headers and one for content) into a ↵ | Armand du Plessis | 2012-08-02 | 3 | -8/+38 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | single check. Rails includes a single character body to a head(:no_content) response to work around an old Safari bug where headers were ignored if no body sent. This patch brings the behavior slightly closer to spec if :no_content/204 is explicity requested via a head only response. Status comparison done on symbolic and numeric values Not returning any content when responding with head and limited to a status code that explicitly states no content will be returned - 100..199, 204, 205, 304. | |||||
* | | | | | | | Remove `:rails_env` task since it is not needed anymore. | Rafael Mendonça França | 2012-08-02 | 2 | -16/+9 | |
|/ / / / / / | ||||||
* | | | | | | Merge pull request #7240 from steveklabnik/fix_2301 | Rafael Mendonça França | 2012-08-02 | 3 | -4/+7 | |
|\ \ \ \ \ \ | | | | | | | | | | | | | | | Fix for digest authentication bug - issue #2301 in rails/rails | |||||
| * | | | | | | Changelog entry for Digest Auth fix (#2301) | Steve Klabnik | 2012-08-02 | 1 | -0/+2 | |
| | | | | | | | ||||||
| * | | | | | | Fix for digest authentication bug - issue #2301 in rails/rails | Arthur Smith | 2012-08-02 | 2 | -4/+5 | |
| | | | | | | | ||||||
* | | | | | | | load active_support/deprecation in active_support/rails | Xavier Noria | 2012-08-02 | 20 | -19/+4 | |
| | | | | | | | ||||||
* | | | | | | | load active_support/core_ext/module/delegation in active_support/rails | Xavier Noria | 2012-08-02 | 17 | -16/+3 | |
| | | | | | | | ||||||
* | | | | | | | load active_support/core_ext/class/attribute in active_support/rails | Xavier Noria | 2012-08-02 | 32 | -34/+6 | |
| | | | | | | | ||||||
* | | | | | | | load active_support/concern in active_support/rails | Xavier Noria | 2012-08-02 | 17 | -16/+3 | |
| | | | | | | | ||||||
* | | | | | | | load active_support/dependencies/autoload in active_support/rails | Xavier Noria | 2012-08-02 | 3 | -2/+3 | |
| | | | | | | | ||||||
* | | | | | | | load active_support/core_ext/object/inclusion in active_support/rails | Xavier Noria | 2012-08-02 | 26 | -25/+4 | |
| | | | | | | | ||||||
* | | | | | | | load active_support/core_ext/object/blank in active_support/rails | Xavier Noria | 2012-08-02 | 55 | -54/+2 | |
| | | | | | | | ||||||
* | | | | | | | defines a private require-hub active_support/rails | Xavier Noria | 2012-08-02 | 8 | -0/+16 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a private place to put those AS features that are used by every component. Nowadays we cherry-pick individual files wherever they are used, but that it is not worth the effort for stuff that is going to be loaded for sure sooner or later, like blank?, autoload, concern, etc. | |||||
* | | | | | | | Check validity of options[:as] just once | José Valim | 2012-08-02 | 1 | -12/+18 | |
| | | | | | | |