- 08 7月, 2011 14 次提交
-
-
由 Daniel Schierbeck 提交于
Move the private method #extract_schema_and_table into a separate Utils module so that it can be tested without resorting to #send.
-
由 Santiago Pastorino 提交于
Properly cache value when it is "false"
-
由 Santiago Pastorino 提交于
replaced some "i += 1" sort of codes with Enumerable#with_index
-
由 Akira Matsuda 提交于
-
由 Akira Matsuda 提交于
-
由 Sebi Burkhard 提交于
-
由 Xavier Noria 提交于
That integer is rather irrelevant, the only thing that matters is that it is consistent and with no apparent bias. Zlib.crc32 is 8-10 times faster than bytes.sum, so use that.
-
由 José Valim 提交于
-
由 José Valim 提交于
-
由 Aaron Patterson 提交于
-
由 José Valim 提交于
Fixing asset number for asset_path with %d to be consistent in ruby 1.9
-
由 Albert Callarisa Roca 提交于
Using the sum of bytes instead the hash of the path when replacing the wildcard of the assets path because in ruby 1.9 is not consistent
-
由 Santiago Pastorino 提交于
Updated rake:notes to search additional directories
-
由 Santiago Pastorino 提交于
Make `ActiveRecord::Batches#find_each` to not return `self`.
-
- 07 7月, 2011 24 次提交
-
-
由 Xavier Noria 提交于
Add require ActiveSupport delegation to ActiveRecord::Relation class.
-
由 José Valim 提交于
-
由 Dmitriy Kiriyenko 提交于
-
由 José Valim 提交于
Rails app template: setup different mass assignment sanitizer for envs
-
由 José Valim 提交于
Fix test warnings
-
由 knapo 提交于
This caused that `find_each` was producing extra db call taking all the records from db, and was less efficient than `ActiveRecord::Base#all`.
-
由 dmathieu 提交于
-
由 Bogdan Gusiev 提交于
For production - leave the default For test and dev: :strict.
-
由 Santiago Pastorino 提交于
collection_singular_ids ignores association :include option
-
由 Santiago Pastorino 提交于
rake db:test:purge creates mysql database with wrong charset & collation (master branch)
-
由 José Valim 提交于
-
由 jwarwick 提交于
-
由 José Valim 提交于
-
由 José Valim 提交于
-
由 Jon Leighton 提交于
Don't construct association scope in initializer. This yields a big performance gain for cases where the association is never used to load the target, for example with preloading. Related: #1873.
-
由 Simon Baird 提交于
See new method mysql_creation_options. It is used by both create_database and recreate_database so they are consistent. (Cherry pick of 3ba3125b)
-
由 José Valim 提交于
This is because only template rendering works with streaming. Setting it at the class level was also changing the behavior of JSON and XML responses, closes #1337.
-
由 Jon Leighton 提交于
Remove case statement changes from 2e0840dd and 56ac32ad. Inheritance FTW.
-
由 Anatoliy Lysenko 提交于
when condtions references tables from includes. Test fail because of invalid sql: ActiveRecord::StatementInvalid: SQLite3::SQLException: no such column: comments.id: SELECT "posts".id FROM "posts" INNER JOIN "readers" ON "posts"."id" = "readers"."post_id" WHERE "readers"."person_id" = 1 AND (comments.id is null) Bug described in github#925 This commit will revert fix from https://github.com/rails/rails/commit/3436fdfc12d58925e3d981e0afa61084ea34736c , but tests is ok. Bug described in #6569 ticket.
-
由 Ernie Miller 提交于
-
由 Santiago Pastorino 提交于
Addresses an inconsistency in the ActiveRecord::Base.method_missing handl
-
由 Santiago Pastorino 提交于
Fix timezone handling in String.to_time
-
由 Santiago Pastorino 提交于
Fix failing test because of Timezone difference.
-
由 Santiago Pastorino 提交于
Accept application.js/.css to exist in a deeper directory depth by default
-
- 06 7月, 2011 2 次提交
-
-
由 Jon Leighton 提交于
Fixed AR::Relation#sum compatibility with Array#sum
-
由 Aaron Patterson 提交于
-