- 08 8月, 2012 1 次提交
-
-
由 andrea longhi 提交于
-
- 07 8月, 2012 2 次提交
-
-
由 lulalala 提交于
-
由 Oscar Del Ben 提交于
-
- 05 8月, 2012 3 次提交
-
-
由 Weston Platter 提交于
explains how to add/override engine classes in the main rails app via 1) Class#class_eval 2) ActiveSupport::Concern
-
由 Steve Klabnik 提交于
-
由 Dejan Simic 提交于
-
- 04 8月, 2012 11 次提交
-
-
由 Vijay Dev 提交于
Conflicts: activemodel/lib/active_model/secure_password.rb activerecord/lib/active_record/associations/collection_proxy.rb
-
由 Vijay Dev 提交于
-
由 Vijay Dev 提交于
Update Migration Docs: Defaults for Boolean Fields
-
由 Andrew Vit 提交于
-
由 Thomas Klemm 提交于
A Boolean field will accept true or false as defaults instead of 0 / 1.
-
由 Ace Suares 提交于
added info about an error that mysql gives when rails@localhost has a password; removed reference to activerecord/test/connections, which isn't there anymore
-
由 Mikhail Dieterle 提交于
-
由 Jon Leighton 提交于
Closes #6600
-
由 Jon Leighton 提交于
-
由 Rafael Mendonça França 提交于
calculate errors_options one time in validate_each
-
- 03 8月, 2012 23 次提交
-
-
由 Angelo Capilleri 提交于
errors_options is calculated for every *CHECKS* but it could be calculated one time because options and RESERVED_OPTIONS not change during this cycle
-
由 Santiago Pastorino 提交于
-
由 Santiago Pastorino 提交于
-
由 Santiago Pastorino 提交于
Some are loaded from Base which is loaded when a model inherits from it and some others are used in rake tasks
-
由 Jon Leighton 提交于
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.
-
由 Jon Leighton 提交于
-
由 Jon Leighton 提交于
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
-
由 Aaron Patterson 提交于
-
由 Rafael Mendonça França 提交于
Remove single character body in head(:no_content) response
-
由 Armand du Plessis 提交于
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.
-
由 Rafael Mendonça França 提交于
-
由 Robert Pankowecki 提交于
Link to ActiveRecord::Serialization#to_xml for more details
-
由 Rafael Mendonça França 提交于
Fix for digest authentication bug - issue #2301 in rails/rails
-
由 Steve Klabnik 提交于
-
由 Xavier Noria 提交于
-
由 Xavier Noria 提交于
-
由 Xavier Noria 提交于
-
由 Xavier Noria 提交于
-
由 Xavier Noria 提交于
-
由 Xavier Noria 提交于
-
由 Xavier Noria 提交于
-
由 Xavier Noria 提交于
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.
-
由 José Valim 提交于
-