Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | | | Move controller assertions from base TestCase to AC:: and AV::TestCase | Jeremy Kemper | 2008-11-07 | 26 | -265/+191 | |
| | | | | ||||||
| * | | | Silence parens warning | Jeremy Kemper | 2008-11-07 | 1 | -1/+1 | |
| | | | | ||||||
| * | | | Remove fixtures from Test::Unit::TestCase. Mix in AR::TestFixtures instead. | Jeremy Kemper | 2008-11-07 | 3 | -151/+153 | |
| | | | | ||||||
| * | | | Remove controller assertions from Test::Unit::TestCase. Use ↵ | Jeremy Kemper | 2008-11-07 | 3 | -71/+58 | |
| | | | | | | | | | | | | | | | | ActionController::TestCase. | |||||
| * | | | Set AS::TestCase::Assertion to the underlying test exception for either ↵ | Jeremy Kemper | 2008-11-07 | 1 | -1/+4 | |
| | | | | | | | | | | | | | | | | miniunit or test/unit | |||||
| * | | | Extract test method declaration | Jeremy Kemper | 2008-11-07 | 1 | -0/+21 | |
| | | | | ||||||
| * | | | Just rescue exception rather than checking for both miniunit and test/unit | Jeremy Kemper | 2008-11-07 | 2 | -7/+3 | |
| | | | | ||||||
| * | | | Subclass AS::TestCase to get custom assertions | Jeremy Kemper | 2008-11-07 | 1 | -1/+1 | |
| | | | | ||||||
| * | | | Safer but hacky minitest autorun override | Jeremy Kemper | 2008-11-07 | 1 | -4/+5 | |
| | | | | ||||||
| * | | | Rework testing extensions to reflect the recent miniunit upheaval | Jeremy Kemper | 2008-11-07 | 6 | -52/+64 | |
| | | | | ||||||
| * | | | Remove direct TestCase mixins. Add miniunit compatibility. | Jeremy Kemper | 2008-11-07 | 5 | -19/+91 | |
| |/ / | ||||||
| * | | Don't shadow local with black arg | Jeremy Kemper | 2008-11-07 | 1 | -4/+4 | |
| | | | ||||||
| * | | Fix indentation mismatch | Jeremy Kemper | 2008-11-07 | 1 | -1/+1 | |
| | | | ||||||
| * | | Mark utf-8 encoding | Jeremy Kemper | 2008-11-07 | 1 | -0/+1 | |
| |/ | ||||||
| * | Fix memory leak issue in ActiveRecord scoped_methods | Joshua Peek | 2008-11-06 | 1 | -2/+1 | |
| | | ||||||
| * | Increment the version of our modified memcache_client code to prevent users ↵ | Luca Guidi | 2008-11-06 | 3 | -5/+11 | |
| | | | | | | | | | | | | | | | | with the gem installed not seeing our changes. The changes will be submitted upstream. Signed-off-by: Michael Koziarski <michael@koziarski.com> [#1239 state:committed] | |||||
| * | Don't eval recognize_optimized use __FILE__ and __LINE__ in the optimised ↵ | Aliaksey Kandratsenka | 2008-11-06 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | recognition code. It produces meaningless line numbers. This also easily produces line numbers greater than recognition_optimization.rb have, which causes rcov to trash memory outside of it's coverage counting arrays. [#1319 state:committed] Signed-off-by: Michael Koziarski <michael@koziarski.com> | |||||
| * | Fix stupid typo | Michael Koziarski | 2008-11-06 | 1 | -1/+1 | |
| | | ||||||
| * | Turn on STARTTLS if it is available in Net::SMTP (added in Ruby 1.8.7) and ↵ | Grant Hollingworth | 2008-11-06 | 4 | -4/+29 | |
| | | | | | | | | | | | | the SMTP server supports it [#1336 state:committed] Signed-off-by: David Heinemeier Hansson <david@loudthinking.com> | |||||
| * | Fixed the sanitize helper to avoid double escaping already properly escaped ↵ | David Heinemeier Hansson | 2008-11-06 | 0 | -0/+0 | |
| |\ | | | | | | | | | | entities [#683 state:committed] | |||||
| | * | Stop logging SHOW FIELDS and SET SQL_AUTO_IS_NULL=0 for the MysqlAdapter as ↵ | David Heinemeier Hansson | 2008-11-06 | 2 | -4/+10 | |
| | | | | | | | | | | | | they only clutter up the log and offer no value [DHH] | |||||
| * | | Fixed the sanitize helper to avoid double escaping already properly escaped ↵ | David Heinemeier Hansson | 2008-11-06 | 4 | -2/+8 | |
| | | | | | | | | | | | | entities [#683 state:committed] | |||||
| * | | Stop logging SHOW FIELDS and SET SQL_AUTO_IS_NULL=0 for the MysqlAdapter as ↵ | David Heinemeier Hansson | 2008-11-06 | 2 | -4/+10 | |
| |/ | | | | | | | they only clutter up the log and offer no value [DHH] | |||||
| * | Dont bother logging the parameters hash if there are no parameters | David Heinemeier Hansson | 2008-11-06 | 1 | -1/+1 | |
| | | ||||||
| * | Make sure ActiveRecord::Base.connected? doesn't raise an exception for ↵ | Pratik Naik | 2008-11-06 | 2 | -1/+7 | |
| | | | | | | | | defined connections | |||||
| * | Update guides from docrails | Pratik Naik | 2008-11-06 | 39 | -368/+1476 | |
| | | ||||||
| * | Ensure ActiveRecord::ConnectionPool.connected? handles undefined ↵ | Wes Oldenbeuving | 2008-11-06 | 2 | -1/+9 | |
| | | | | | | | | | | | | connections. [#936 state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | |||||
| * | Fixed that FormTagHelper generates illegal html if name contains e.g. square ↵ | Vladimir Dobriakov | 2008-11-04 | 3 | -5/+46 | |
| | | | | | | | | | | | | brackets [#1238 state:committed] Signed-off-by: David Heinemeier Hansson <david@loudthinking.com> | |||||
| * | Fix regression bug that made date_select and datetime_select raise a Null ↵ | Bernardo de Pádua | 2008-11-04 | 3 | -2/+44 | |
| | | | | | | | | | | | | Pointer Exception when a nil date/datetime was passed and only month and year were displayed [#1289 state:committed] Signed-off-by: David Heinemeier Hansson <david@loudthinking.com> | |||||
| * | Dont log the _method attribute either. Its already available in the header | David Heinemeier Hansson | 2008-11-04 | 37 | -47375/+1167 | |
| |\ | ||||||
| * | | Dont log the _method attribute either. Its already available in the header | David Heinemeier Hansson | 2008-11-04 | 1 | -2/+2 | |
| | | | ||||||
* | | | Reimplement Jeremy's PostgreSQL automatic transaction state introspection code. | Hongli Lai (Phusion) | 2008-11-03 | 3 | -2/+62 | |
| | | | | | | | | | | | | | | | | | | - Fixed compatibility with the old 'postgres' driver which doesn't support transaction state introspection. - Added unit tests for it. | |||||
* | | | Rename ActiveRecord::Base#transaction's :force option to :nest. Improve ↵ | Hongli Lai (Phusion) | 2008-11-03 | 2 | -7/+62 | |
| | | | | | | | | | | | | documentation for nested transactions. | |||||
* | | | Make SQLite3 pass the unit tests for savepoints. | Hongli Lai (Phusion) | 2008-11-03 | 4 | -4/+18 | |
| | | | ||||||
* | | | Fix a stale typo in the PostgreSQL adapter. Fix a stale mock expection in ↵ | Hongli Lai (Phusion) | 2008-11-03 | 2 | -2/+1 | |
| | | | | | | | | | | | | transaction_test. | |||||
* | | | Revert "PostgreSQL: introduce transaction_active? rather than tracking ↵ | Hongli Lai (Phusion) | 2008-11-03 | 1 | -38/+0 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | activity ourselves" This commit conflicts with savepoint support. This reverts commit 045713ee240fff815edb5962b25d668512649478. Conflicts: activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb | |||||
* | | | Fix the final MySQL unit test failure that's related to savepoint support. | Hongli Lai (Phusion) | 2008-11-03 | 1 | -28/+39 | |
| | | | ||||||
* | | | Improve documentation for DatabaseStatements#transactions and ↵ | Hongli Lai (Phusion) | 2008-11-03 | 3 | -6/+74 | |
| | | | | | | | | | | | | AbstractAdapter#transactional_fixtures, especially with regard to support for nested transactions. | |||||
* | | | Fix assert_queries failures by ignoring savepoint sql. | Jonathan Viney | 2008-11-03 | 1 | -1/+1 | |
| | | | ||||||
* | | | Fix what looks like a Mysql bug with transactions, savepoints, and create table. | Jonathan Viney | 2008-11-03 | 1 | -21/+26 | |
| | | | ||||||
* | | | Implement savepoints. | Jonathan Viney | 2008-11-03 | 7 | -14/+185 | |
| |/ |/| | ||||||
* | | Remove unused debug_routes | Pratik Naik | 2008-11-02 | 1 | -6/+0 | |
| | | ||||||
* | | Dont dup params twice when filter_parameters is present | Pratik Naik | 2008-11-02 | 1 | -2/+2 | |
| | | ||||||
* | | Check first for git repository before using git branch | Pratik Naik | 2008-11-02 | 1 | -1/+1 | |
| | | ||||||
* | | Dont document internals | Pratik Naik | 2008-11-02 | 1 | -3/+0 | |
| | | ||||||
* | | Merge docrails. Remove unnecessary files. | Pratik Naik | 2008-11-02 | 4 | -46728/+8 | |
| | | ||||||
* | | Backwards compatibility fixes for relative_url_root | Michael Koziarski | 2008-11-02 | 2 | -6/+4 | |
| | | | | | | | | | | * Make the old deprecated relative_url_root still set the value as it's still used by mongrel * Set the default from the ENV value when the file is required, not at runtime. | |||||
* | | Merge with docrails | Pratik Naik | 2008-11-02 | 26 | -611/+1096 | |
| | | ||||||
* | | Cleaned up route optimisation guard condition generation code as it was ↵ | Tom Lea | 2008-11-01 | 2 | -7/+32 | |
| | | | | | | | | | | | | | | | | getting a little messy. Add additional condition to handle the case where default_url_options is only defined in the controller, not the view. Signed-off-by: Michael Koziarski <michael@koziarski.com> | |||||
* | | Make refresh_specs more resilient. Always add vendor/gems to gem search ↵ | Matt Jones | 2008-11-01 | 3 | -14/+27 | |
|/ | | | | | | path. Use Gem.clear_paths to ensure we get a current searcher. Signed-off-by: Michael Koziarski <michael@koziarski.com> |