- 21 10月, 2012 1 次提交
-
-
由 Francesco Rodriguez 提交于
-
- 19 10月, 2012 2 次提交
-
-
由 Hrvoje Šimić 提交于
-
由 Hrvoje Šimić 提交于
-
- 18 10月, 2012 1 次提交
-
-
由 Francesco Rodriguez 提交于
-
- 11 10月, 2012 2 次提交
-
- 10 10月, 2012 1 次提交
-
-
由 Robin Dupret 提交于
-
- 03 10月, 2012 6 次提交
-
-
由 Rafael Mendonça França 提交于
Thanks to @jeremy to teach me this one.
-
由 Rafael Mendonça França 提交于
This reverts commit 4e9f53f9, reversing changes made to 6b802cdb. Revert "Don't use tap in this case." This reverts commit 454d820b. Reason: Is not a good idea to add options to this method since we can do the same thing using method composition. Person.validators_on(:name).select { |v| v.kind == :presence } Also it avoids to change the method again to add more options.
-
由 Rafael Mendonça França 提交于
The use of tap in this case is very confusing since we are mutating the return value inside the block
-
由 Prem Sichanugrist 提交于
This will filter out the validators on a particular attribute based on its kind.
-
由 Nick Rowe 提交于
-
由 Nick Rowe 提交于
-
- 24 9月, 2012 2 次提交
-
-
由 John Foley 提交于
-
由 John Foley 提交于
This commit allows a user to do something like: before_validation :do_stuff, :on => [ :create, :update ] after_validation :do_more, :on => [ :create, :update ]
-
- 21 9月, 2012 4 次提交
-
-
由 Francesco Rodriguez 提交于
-
由 Francesco Rodriguez 提交于
-
由 Francesco Rodriguez 提交于
-
由 Francesco Rodriguez 提交于
-
- 20 9月, 2012 1 次提交
-
-
由 Guillermo Iguaran 提交于
-
- 17 9月, 2012 6 次提交
-
-
由 Guillermo Iguaran 提交于
attr_accessible and attr_protected raise an exception pointing to use plugin or new protection model
-
由 Guillermo Iguaran 提交于
-
由 Guillermo Iguaran 提交于
-
由 Guillermo Iguaran 提交于
Change AMo::ForbiddenAttributesProtection tests to use a subclass of Hash instead of monkey patch permitted? method in regular hashes
-
由 Guillermo Iguaran 提交于
This will be moved out to protected_attributes gem
-
由 Guillermo Iguaran 提交于
-
- 12 9月, 2012 1 次提交
-
-
由 Nihad Abbasov 提交于
-
- 08 9月, 2012 2 次提交
-
-
由 Carlos Antonio da Silva 提交于
-
由 Carlos Antonio da Silva 提交于
Due to a change in builder, nil values and empty strings now generates closed tags, so instead of this: <pseudonyms nil=\"true\"></pseudonyms> It generates this: <pseudonyms nil=\"true\"/> Document this change in Rails so that people can track it down easily if necessary.
-
- 07 9月, 2012 1 次提交
-
-
由 Anatoly Makarevich 提交于
-
- 29 8月, 2012 2 次提交
-
-
由 Xavier Noria 提交于
Changes in old branches needed to be manually synched in CHANGELOGs of newer ones. This has proven to be brittle, sometimes one just forgets this manual step. With this commit we switch to CHANGELOGs per branch. When a new major version is cut from master, the CHANGELOGs in master start being blank. A link to the CHANGELOG of the previous branch allows anyone interested to follow the history.
-
由 kennyj 提交于
-
- 25 8月, 2012 1 次提交
-
-
由 Gabriel Sobrinho 提交于
-
- 24 8月, 2012 1 次提交
-
-
由 Francesco Rodriguez 提交于
-
- 22 8月, 2012 1 次提交
-
-
由 José Valim 提交于
The new option allows any Ruby namespace to be registered and set up for eager load. We are effectively exposing the structure existing in Rails since v3.0 for all developers in order to make their applications thread-safe and CoW friendly.
-
- 14 8月, 2012 1 次提交
-
-
https://github.com/rails/rails/issues/6958由 Anthony 提交于
- Enable propagation of :skip_types, :dasherize and :camelize on included models by default - Adding the option to override this propagation on a per-include basis (:include => { :model => { :dasherize => false } } - Enough tests to prove it works - Updated activemodel CHANGELOG.md Squashed my commits
-
- 12 8月, 2012 2 次提交
-
-
由 Carlos Antonio da Silva 提交于
Under a "private" call, class methods are not real private methods, they're public just like any other method. Make model_name_from_record_or_class a private class method, and nodoc it.
-
由 Rafael Mendonça França 提交于
-
- 09 8月, 2012 1 次提交
-
-
由 Bert Goethals 提交于
-
- 08 8月, 2012 1 次提交
-
-
由 andrea longhi 提交于
-