- 06 11月, 2011 4 次提交
-
-
由 Justin Mazzi 提交于
"Returns true if the specified attribute has been set by the user or by a database load and is neither nil nor empty?" Fixes #1613
-
由 Xavier Noria 提交于
This is a first implementation, EXPLAIN is highly dependent on the database and I have made some compromises. On one hand, the method allows you to run the most common EXPLAIN and that's it. If you want EXPLAIN ANALYZE in PostgreSQL you need to do it by hand. On the other hand, I've tried to construct a string as close as possible to the ones built by the respective shells. The rationale is that IMO the user should feel at home with the output and recognize it at first sight. Per database. I don't know whether this implementation is going to work well. Let's see whether people like it.
-
由 kennyj 提交于
-
由 Jon Leighton 提交于
-
- 05 11月, 2011 1 次提交
-
-
由 Vlad Jebelev 提交于
-
- 04 11月, 2011 3 次提交
-
-
由 Arun Agrawal 提交于
-
由 Jon Leighton 提交于
This is to avoid confusing newbies, and to be consistent with the fact that other options like :foreign_key already allow a symbol or a string.
-
由 Jeremy Kemper 提交于
Preserve SELECT columns on the COUNT for finder_sql when possible
-
- 03 11月, 2011 4 次提交
-
-
由 Jon Leighton 提交于
Building the conditions of a nested through association could potentially modify the conditions of the through and/or source association. This is a Bad Thing.
-
由 Jon Leighton 提交于
If a record is removed from a has_many :through, all of the join records relating to that record should also be removed from the through association's target. (Previously the records were removed in the database, but only one was removed from the in-memory target array.)
-
由 Jon Leighton 提交于
Fixes #3425.
-
由 Jon Leighton 提交于
Fixes creating records in a through association with a polymorphic source type.
-
- 31 10月, 2011 2 次提交
-
-
由 Vijay Dev 提交于
-
由 Laust Rud Jacobsen 提交于
This change reduces churn in the db/development_structure.sql file when using :sql as active_record.schema_format, and makes comparing diffs much easier. Test ensures the output SQL-statements are lexically ordered by version.
-
- 28 10月, 2011 1 次提交
-
-
由 Joe Van Dyk 提交于
-
- 27 10月, 2011 4 次提交
-
-
由 Arun Agrawal 提交于
-
由 Arun Agrawal 提交于
-
由 Arun Agrawal 提交于
Removed here 0d0176c4
-
由 Pratik Naik 提交于
-
- 26 10月, 2011 1 次提交
-
-
由 David Heinemeier Hansson 提交于
-
- 22 10月, 2011 1 次提交
-
-
由 Greg Reinacker 提交于
-
- 20 10月, 2011 1 次提交
-
-
由 Aaron Patterson 提交于
Postgres: Do not attempt to deallocate a statement if the connection is no longer active.
-
- 19 10月, 2011 3 次提交
-
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
- 18 10月, 2011 1 次提交
-
-
由 Aaron Christy 提交于
-
- 16 10月, 2011 1 次提交
-
-
由 Vishnu Atrai 提交于
-
- 15 10月, 2011 1 次提交
-
-
由 Mike Perham 提交于
-
- 14 10月, 2011 4 次提交
-
-
由 Christian Bäuerlein 提交于
-
由 Jeremy Kemper 提交于
-
由 Jeremy Kemper 提交于
-
由 David Heinemeier Hansson 提交于
-
- 10 10月, 2011 4 次提交
-
-
由 Arun Agrawal 提交于
-
由 Jon Leighton 提交于
Use broken YAML that will fail with Syck as well as Psych. Fixes test_broken_yaml_exception in fixtures_test.rb on Ruby 1.8.7. Cherry-pick from 3-1-stable: b8d46924
-
由 Jeremy Kemper 提交于
-
由 Joseph Palermo 提交于
Only use LOWER for mysql case insensitive uniqueness check when column has a case sensitive collation.
-
- 08 10月, 2011 1 次提交
-
-
由 Arun Agrawal 提交于
-
- 06 10月, 2011 3 次提交
-
-
由 Jeremy Kemper 提交于
You can use multiple databases in your tests without disabling transactional fixtures.
-
由 Jon Leighton 提交于
An association between two models cannot be made if a relevant key is unknown, so fail fast rather than generating invalid SQL. Fixes #3207.
-
由 Jon Leighton 提交于
This reverts commit ee2be435.
-