- 18 5月, 2011 3 次提交
-
-
由 Colin Young 提交于
-
由 Jon Leighton 提交于
Fixed InnerJoinAssociationTest. Need to load essays fixture.
-
由 Michael Koziarski 提交于
Don't print deprecation warnings every time the user reads or writes an inheritable attribute. The warnings on declaration is enough.
-
- 17 5月, 2011 8 次提交
-
-
由 Arun Agrawal 提交于
-
由 José Valim 提交于
Optimize parts of HashWithIndifferentAccess
-
由 José Valim 提交于
-
由 David Lee 提交于
-
由 Jon Leighton 提交于
Adding missing require to join_model_test
-
由 Guillermo Iguaran 提交于
-
由 Jon Leighton 提交于
Fixing has_many when ActiveRecord::Base.pluralize_table_names is false
-
由 Xavier Noria 提交于
-
- 16 5月, 2011 15 次提交
-
-
由 José Valim 提交于
-
由 José Valim 提交于
generate HTML5 number_field tag for integer fields
-
由 Akira Matsuda 提交于
-
由 José Valim 提交于
cleanups on AMo validator initializers
-
由 Akira Matsuda 提交于
-
由 Akira Matsuda 提交于
-
由 José Valim 提交于
Add doc to #attribute_names
-
由 Sebastian Martinez 提交于
-
由 José Valim 提交于
Make ParamsWrapper use a well-defined API and not rely on AR methods
-
由 Prem Sichanugrist 提交于
-
由 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.
-
由 José Valim 提交于
Fields for fixes for non nested attributes and without object
-
-
由 Xavier Noria 提交于
-
由 Pirogov Evgenij 提交于
-
- 15 5月, 2011 11 次提交
-
-
由 Guillermo Iguaran 提交于
-
由 Guillermo Iguaran 提交于
-
由 Aaron Patterson 提交于
Do not try to call `column_names` on the abstract class.
-
由 Prem Sichanugrist 提交于
Normally the table for abstract class won't be existed, so we should not trying to call `#column_names` on it.
-
由 Carlos Antonio da Silva 提交于
-
由 Carlos Antonio da Silva 提交于
Refactor fields_for to make the api more clear, and fix usage with non nested attributes and without object
-
由 Pirogov Evgenij 提交于
-
由 Carlos Antonio da Silva 提交于
-
由 Jon Leighton 提交于
* It is not necessary to subtract 'id' from the list of copied attributes because record and mem_record are equal, so therefore their id attributes are also equal (so there is no harm in copying it, and this reduces the complexity of the code) * It is not necessary to intersect the attribute names, since record and mem_record are equal, so they have the same id and class, so they have the same columns in the database. If record has non-column attributes then it seems reasonable to also copy them onto mem_record (though I am not sure what situation this would ever happen in)
-
由 Jon Leighton 提交于
CollectionAssociation#merge_target_lists should write to the underlying attributes when copying, rather than using the assignment method
-
由 Jon Leighton 提交于
-
- 14 5月, 2011 3 次提交
-
-
由 José Valim 提交于
-
由 José Valim 提交于
ActiveRecord::LogSubscriber.runtime should be reset at the start of each request
-
由 Tom Ward 提交于
Previously the runtime was reset implicitly when #cleanup_view_runtime was called at the end of most requests. However, this doesn't happen when the request redirects, or send_file is called. Consequently, the ActiveRecord runtime recorded in the logs included the time taken for both the current request and the previous redirect. Explicitly resetting at the start of each request ensures that this can't happen, no matter what occurs previously.
-