- 16 1月, 2014 9 次提交
-
-
由 Yves Senn 提交于
This makes the tests inside `migration_test.rb` order independent. The assignments to `Reminder.table_name_prefix` and `Reminder.table_name_suffix` previously leaked and had impact on following test cases. This patch isolates the assignments on a throw-away subclass.
-
由 Yves Senn 提交于
This solves order dependent issues where the last test leaked the query cache state. This resulted in the following error: ``` QueryCacheExpiryTest#test_cache_is_expired_by_habtm_delete [test/cases/query_cache_test.rb:275]: not all expectations were satisfied unsatisfied expectations: - expected exactly twice, invoked once: #<ActiveRecord::ConnectionAdapters::SQLite3Adapter:0x7f93e0c65838>.clear_query_cache(any_parameters) ```
-
由 Yves Senn 提交于
This fixes test order issues.
-
由 Yves Senn 提交于
-
由 Aaron Patterson 提交于
any line number maths
-
由 Carlos Antonio da Silva 提交于
This has been added 9 years ago in a677da20, and removed 6 years ago in 38f8252e.
-
由 Carlos Antonio da Silva 提交于
-
由 Carlos Antonio da Silva 提交于
-
由 Carlos Antonio da Silva 提交于
Use single quotes in generated files
-
- 15 1月, 2014 6 次提交
-
-
由 Aaron Patterson 提交于
rather than allocating a new Relation, just make the AST directly
-
由 Godfrey Chan 提交于
-
由 Aaron Patterson 提交于
Conflicts: activerecord/test/cases/adapters/sqlite3/sqlite3_adapter_test.rb
-
由 Chulki Lee 提交于
-
由 Yves Senn 提交于
This fixes broken `rake test_sqlite3_mem` suite for Active Record. The problem is that that the old database with the schema is lost when establishing a new connection. Upon reconnting we are left with a blank database and tests down the line start failing.
- 14 1月, 2014 25 次提交
-
-
由 Yves Senn 提交于
sqlite >= 3.8.0 supports partial indexes
-
由 Cody Cutrer 提交于
-
由 Andrew White 提交于
Active Record's subclass_from_attributes shouldn't assume :type is for STI unless there is a type column.
-
由 Ujjwal Thaakar 提交于
The `subclass_from_attrs` method is called even if the column specified by the `inheritance_column` setting doesn't exist. This prevents setting associations via the attributes hash if the association name clashes with the value of the setting, typically `:type`. This worked previously in Rails 3.2.
-
由 Godfrey Chan 提交于
Example: class Conversation < ActiveRecord::Base enum status: [ :active, :archived ] end Before: Conversation::STATUS # => { "active" => 0, "archived" => 1 } After: Conversation.statuses # => { "active" => 0, "archived" => 1 }
-
由 Carlos Antonio da Silva 提交于
Single quotes for controller generated routes. This is more consistent with all other Rails generated code.
-
由 Yves Senn 提交于
Fix fields_for documentation with index option [ci skip]
-
由 Prathamesh Sonpatki 提交于
- fields_for documentation with index option was wrong. - It does not work with passing model as it is. - Changed the example by passing id of the address object. - Fixes #13125.
-
由 Yves Senn 提交于
[ci skip] Grammar correction
-
由 Yves Senn 提交于
-
由 Akshay Vishnoi 提交于
-
由 Yves Senn 提交于
Set NameError#name
-
由 Damien Mathieu 提交于
[ci skip] Added alias to CSRF
-
由 Cristian Mircea Messel 提交于
Write routes in route.rb with single quotes get 'welcome/index' instead of get "welcome/index"
-
由 Uday Kadaboina 提交于
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
It's not public API, but is not private scoped.
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 Rafael Mendonça França 提交于
"serie" => "series"
-
由 Aaron Patterson 提交于
-
由 Xavier Noria 提交于
-
由 Waynn Lue 提交于
-
由 Xavier Noria 提交于
More to come.
-
由 Chulki Lee 提交于
-