- 16 5月, 2011 11 次提交
-
-
由 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 10 次提交
-
-
由 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 19 次提交
-
-
由 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.
-
由 Tom Ward 提交于
-
git://github.com/lifo/docrails由 Xavier Noria 提交于
Conflicts: actionpack/lib/action_view/helpers/date_helper.rb railties/lib/rails/generators/rails/app/templates/config/initializers/wrap_parameters.rb.tt
-
由 Xavier Noria 提交于
-
由 Piotr Sarnacki 提交于
Fixed failing tests for namespaced_generators_test. in 1.9.2
-
由 Arun Agrawal 提交于
-
由 Karel Minarik 提交于
[GUIDES] Changed the `LANGUAGE` variable to `GUIDES_LANGUAGE` to minimize conflicts with regular environment variables (eg. in Ubuntu)
-
由 Aaron Patterson 提交于
-
由 Xavier Noria 提交于
asking the user whether he is "offline" rather than "online" seems more natural as reaction to a potential missing network connection
-
由 Xavier Noria 提交于
-
由 Xavier Noria 提交于
-
由 José Valim 提交于
typo
-
由 Jason Dew 提交于
-
由 Jon Leighton 提交于
-
由 Jon Leighton 提交于
Remove pointless rescue (it doesn't happen anywhere in the tests, and I can't see a way that it would happen ever)
-
由 José Valim 提交于
Update Mailer generator to use 1.9 styled hash when run on Ruby 1.9
-
由 Prem Sichanugrist 提交于
As always, you can run `--old-style-hash` to override that.
-