- 08 3月, 2013 7 次提交
-
-
Currently Post.active.inactive will result in Post.inactive since the last where clause wins when scopes are merged. This pull request will merge all scopes ( barring defaul scope) using AND. The default scope will be overridden if another scope acts on the same where clause. closes #7365
-
由 Rafael Mendonça França 提交于
Allow use of assert_template with the :file option.
-
由 Rafael Mendonça França 提交于
test case for `serialize` default values.
-
由 Rafael Mendonça França 提交于
cache_key consults updated_on timestamp if present Conflicts: activerecord/CHANGELOG.md
-
由 Yves Senn 提交于
Closes #9110
-
由 Rafael Mendonça França 提交于
More helpful error message when instantiating an abstract class Conflicts: activerecord/CHANGELOG.md
-
由 Rafael Mendonça França 提交于
`has_secure_password` is not invalid when assigning empty Strings
-
- 07 3月, 2013 8 次提交
-
-
由 Rafael Mendonça França 提交于
replace non-breaking spaces with normal spaces [ci skip]
-
由 Rafael Mendonça França 提交于
Refactored the code to remove irrelevant lines
-
由 Anupam Choudhury 提交于
-
由 Yves Senn 提交于
-
由 Rafael Mendonça França 提交于
It was added because a regression caused by a712e08e Closes #9255
-
由 Santiago Pastorino 提交于
-
由 Rafael Mendonça França 提交于
Change useless tr to gsub
-
由 robertomiranda 提交于
-
- 06 3月, 2013 15 次提交
-
-
由 Rafael Mendonça França 提交于
`Connection#structure_dump` is no longer used
-
由 Yves Senn 提交于
Closes #9518. The rake task used to fail silently and left an empty `structure.sql`. It's confusing for users to get to the root of the problem. The warning message tells them where to look.
-
由 Rafael Mendonça França 提交于
Transactions can be turned off per Migration
-
由 Carlos Antonio da Silva 提交于
Typo in comment to ActionView::Resolver#find_all
-
由 RKushnir 提交于
-
由 Xavier Noria 提交于
CHANGELOG entry for improved singularizing of singulars.
-
由 Yves Senn 提交于
Closes #9559. The actual patch was added with #4719
-
由 Carlos Antonio da Silva 提交于
-
由 Rafael Mendonça França 提交于
Add DebugHelperTest
-
由 robertomiranda 提交于
-
由 Xavier Noria 提交于
Remove unused return value, because collecting_queries_for_explain isn't public API.
-
由 Guillermo Iguaran 提交于
Use gsub intead of tr when the to_str is longer than the from_str
-
由 robertomiranda 提交于
-
由 Vijay Dev 提交于
-
- 05 3月, 2013 10 次提交
-
-
由 kennyj 提交于
-
由 Yves Senn 提交于
Closes #9483. There are SQL Queries that can't run inside a transaction. Since the Migrator used to wrap all Migrations inside a transaction there was no way to run these queries within a migration. This patch adds `self.disable_ddl_transaction!` to the migration to turn transactions off when necessary.
-
由 Guillermo Iguaran 提交于
change useless gsub to tr
-
由 robertomiranda 提交于
-
由 Carlos Antonio da Silva 提交于
Assigning '0.0' to a nullable numeric column does not make it dirty Example: product = Product.create price: 0.0 product.price = '0.0' product.changed? # => false (this used to return true) product.changes # => {} (this used to return { price: [0.0, 0.0] })
-
由 Yves Senn 提交于
-
由 Carlos Antonio da Silva 提交于
Routing match `via` option requirement exception message made more explicit
-
由 Boris Staal 提交于
-
由 Carson McDonald 提交于
-