- 16 5月, 2011 1 次提交
-
-
由 Prem Sichanugrist 提交于
Add ActiveRecord::attribute_names to retrieve a list of attribute names. This method will also return an empty array on an abstract class or a model that the table doesn't exists.
-
- 11 5月, 2011 2 次提交
-
-
由 knapo 提交于
-
由 Corin Langosch 提交于
-
- 10 5月, 2011 1 次提交
-
-
由 José Valim 提交于
-
- 08 5月, 2011 1 次提交
-
-
由 Josh Kalderimis 提交于
-
- 07 5月, 2011 4 次提交
-
-
由 José Valim 提交于
-
由 José Valim 提交于
This reverts commit 886818d2.
-
由 José Valim 提交于
Revert "Merge pull request #423 from richardiux/master" This reverts commit b8f08c4e, reversing changes made to fd9df1b1.
-
由 Richard Millan 提交于
Adding base method symbolized_sti_name to activerecord base to be used on identity map. Identity map now considers the inheritance when creating the caching keys
-
- 05 5月, 2011 1 次提交
-
-
由 Aditya Sanghi 提交于
-
- 02 5月, 2011 2 次提交
-
-
由 Sebastian Martinez 提交于
-
由 Josh Kalderimis 提交于
-
- 29 4月, 2011 1 次提交
-
-
由 Josh Kalderimis 提交于
-
- 26 4月, 2011 1 次提交
-
-
由 Josh Kalderimis 提交于
deprecated the use of the guard_protected_attributes argument with attributes= in AR in favor of assign_attributes(attrs, :without_protection => true)
-
- 24 4月, 2011 1 次提交
-
-
由 Josh Kalderimis 提交于
Added assign_attributes to Active Record which accepts a mass-assignment security scope using the :as option, while also allowing mass-assignment security to be bypassed using :with_protected
-
- 19 4月, 2011 2 次提交
-
-
由 Jon Leighton 提交于
Bring back support for passing a callable object to the default_scope macro. You can also just use a block.
-
由 Jon Leighton 提交于
Un-deprecate using 'default_scope' as a macro, but if you are calling the macro multiple times that will give deprecation warnings, and in 3.2 we will simply overwrite the default scope when you call the macro multiple times.
-
- 13 4月, 2011 2 次提交
-
-
由 Jon Leighton 提交于
Evaluate default scopes at the last possible moment in order to avoid problems with default scopes getting included into other scopes and then being unable to remove the default part via unscoped.
-
由 Jon Leighton 提交于
Deprecated support for passing hashes and relations to default_scope, in favour of defining a 'default_scope' class method in the model. See the CHANGELOG for more details.
-
- 30 3月, 2011 1 次提交
-
-
由 Andrew White 提交于
-
- 28 3月, 2011 1 次提交
-
-
由 Sebastian Martinez 提交于
Signed-off-by: NSantiago Pastorino <santiago@wyeworks.com>
-
- 23 3月, 2011 1 次提交
-
-
由 Santiago Pastorino 提交于
-
- 06 3月, 2011 2 次提交
-
-
由 Jon Leighton 提交于
-
由 Aaron Patterson 提交于
-
- 05 3月, 2011 1 次提交
-
-
由 mjy 提交于
-
- 04 3月, 2011 1 次提交
-
-
由 mjy 提交于
-
- 01 3月, 2011 1 次提交
-
-
由 Jon Leighton 提交于
-
- 24 2月, 2011 1 次提交
-
-
由 Josep M. Bach 提交于
-
- 19 2月, 2011 2 次提交
-
-
由 Xavier Noria 提交于
-
由 Nicholas Rowe 提交于
-
- 14 2月, 2011 1 次提交
-
-
由 Jon Leighton 提交于
Add interpolation of association conditions back in, in the form of proc { ... } rather than instance_eval-ing strings
-
- 10 2月, 2011 1 次提交
-
-
由 Raimonds Simanovskis 提交于
previously serialized_attributes were kept as class attribute of ActiveRecord::Base - if some attribute was defined as serialized in one subclass then it was serialized in all other subclasses as well (if it had the same name)
-
- 09 2月, 2011 1 次提交
-
-
由 Jan 提交于
-
- 05 2月, 2011 1 次提交
-
-
由 Aaron Patterson 提交于
-
- 04 2月, 2011 6 次提交
-
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
Revert "ARel only requires the connection from the AR class. Simply return the AR class rather than jump through hoops and store ivars" This reverts commit d65e3b48.
-
由 Aaron Patterson 提交于
ARel only requires the connection from the AR class. Simply return the AR class rather than jump through hoops and store ivars
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 Guillermo Álvarez 提交于
Make serialized columns with explicit object_type return a new instance of the object instead of nil
-