Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | | | | Add an explicit test for hot compatibility | Jon Leighton | 2012-09-28 | 1 | -0/+54 | |
| | | | | | ||||||
* | | | | | Support for partial inserts. | Jon Leighton | 2012-09-28 | 9 | -15/+75 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When inserting new records, only the fields which have been changed from the defaults will actually be included in the INSERT statement. The other fields will be populated by the database. This is more efficient, and also means that it will be safe to remove database columns without getting subsequent errors in running app processes (so long as the code in those processes doesn't contain any references to the removed column). | |||||
* | | | | | Merge pull request #7776 from smartinez87/changelog_entry | Rafael Mendonça França | 2012-09-28 | 1 | -0/+11 | |
|\ \ \ \ \ | | | | | | | | | | | | | Add #update_columns entry to AR Changelog. [ci skip] | |||||
| * | | | | | Add #update_columns entry to AR Changelog. | Sebastian Martinez | 2012-09-28 | 1 | -0/+11 | |
|/ / / / / | ||||||
* | | | | | Merge pull request #7394 from bobbyw/master | Rafael Mendonça França | 2012-09-28 | 1 | -2/+2 | |
|\ \ \ \ \ | | | | | | | | | | | | | Use template0 option for creating activerecord test databases in build_database task with postgres | |||||
| * | | | | | use template0 option for creating activerecord test databases in postgres ↵ | Bobby Wilson | 2012-08-19 | 1 | -2/+2 | |
| | | | | | | | | | | | | | | | | | | | | | | | | build_database task | |||||
* | | | | | | Support `Mailer.deliver_foo(*args)` as a synonym for ↵ | Jon Leighton | 2012-09-28 | 3 | -0/+15 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `Mailer.foo(*args).deliver`. This makes it easy to write e.g. `Mailer.expects(:deliver_foo)` when testing code that calls the mailer. | |||||
* | | | | | | Merge pull request #7775 from frodsan/test_ap_metal | Rafael Mendonça França | 2012-09-27 | 2 | -37/+42 | |
|\ \ \ \ \ \ | | | | | | | | | | | | | | | move metal/caching_test into controller/caching_test | |||||
| * | | | | | | move metal/caching_test into controller/caching_test | Francesco Rodriguez | 2012-09-27 | 2 | -37/+42 | |
|/ / / / / / | ||||||
* | | | | | | Fix tests broken by adding a new instance variable to view test cases | Jeremy Kemper | 2012-09-27 | 1 | -0/+1 | |
| | | | | | | ||||||
* | | | | | | remove method redefinition warnings | Rafael Mendonça França | 2012-09-27 | 2 | -2/+2 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | actionpack/test/template/spec_type_test.rb:32: warning: method redefined; discarding old test_spec_type_wont_match_non_space_characters actionpack/test/controller/spec_type_test.rb:30: warning: previous definition of test_spec_type_wont_match_non_space_characters was here | |||||
* | | | | | | Is not needed to wrap name inside an array here | Santiago Pastorino | 2012-09-27 | 1 | -1/+1 | |
| | | | | | | ||||||
* | | | | | | Change key not found to param not found | Santiago Pastorino | 2012-09-27 | 1 | -6/+6 | |
| | | | | | | ||||||
* | | | | | | Merge pull request #7768 from kennyj/removing_dead_code_20120928 | Rafael Mendonça França | 2012-09-27 | 2 | -25/+0 | |
|\ \ \ \ \ \ | | | | | | | | | | | | | | | Removing dead code. attribute_cast_code isn't called. | |||||
| * | | | | | | Removing dead code. attribute_cast_code is not called. | kennyj | 2012-09-28 | 2 | -25/+0 | |
|/ / / / / / | ||||||
| | | | * / | Move the CacheHelper#fragment_name_with_digest to be public so custom ↵ | Ryan Garver | 2012-09-27 | 1 | -11/+11 | |
| |_|_|/ / |/| | | | | | | | | | | | | | | fragment caching can benefit from it. | |||||
* | | | | | Merge pull request #7760 from ↵ | Santiago Pastorino | 2012-09-27 | 5 | -1/+5 | |
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | alindeman/adds_missing_dependency_to_action_view_test_case Adds missing dependency to ActionView::TestCase::Behavior | |||||
| * | | | | | ConstantLookup is not needed in every TestCase decendant | Andy Lindeman | 2012-09-26 | 2 | -1/+1 | |
| | | | | | | ||||||
| * | | | | | Also includes ConstantLookup dependency for controller and mailer tests | Andy Lindeman | 2012-09-26 | 2 | -0/+2 | |
| | | | | | | ||||||
| * | | | | | Adds missing dependency to ActionView::TestCase::Behavior | Andy Lindeman | 2012-09-26 | 1 | -0/+2 | |
|/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * The module is needed for the `determine_constant_from_test_name` method. * Without it, the including class is required to also include `ActiveSupport::Testing::ConstantLookup` or a `NoMethodError` will be raised upon instantiation of that class. * Issue introduced in c0a24555f9e2749fb94efe1967cb9943db0b6a7e | |||||
* | | | | | Tune up Rails::Rack::Logger. Only put space between requests in development ↵ | Jeremy Kemper | 2012-09-26 | 2 | -21/+30 | |
| | | | | | | | | | | | | | | | | | | | | logs. | |||||
* | | | | | Tests tag the Rails log with the current test class and test case | Jeremy Kemper | 2012-09-26 | 4 | -0/+54 | |
| | | | | | ||||||
* | | | | | Allow wrapping a logger that hasn't set a formatter. Default to our ↵ | Jeremy Kemper | 2012-09-26 | 2 | -2/+12 | |
| | | | | | | | | | | | | | | | | | | | | SimpleFormatter. Otherwise we try extending nil with the tagging API. | |||||
* | | | | | Merge pull request #7444 from szimek/params_parser_raises_parsing_error | Aaron Patterson | 2012-09-26 | 3 | -7/+18 | |
|\ \ \ \ \ | | | | | | | | | | | | | Raise generic ParseError exception when ParamsParser fails parsing request params | |||||
| * | | | | | Make ActionDispatch::ParamsParser::ParseError#original_exception return the ↵ | Szymon Nowak | 2012-08-27 | 3 | -6/+14 | |
| | | | | | | | | | | | | | | | | | | | | | | | | original exception. | |||||
| * | | | | | Fix ActionDispatch::ParamsParser::ParseError message for XML and JSON parsers. | Szymon Nowak | 2012-08-24 | 3 | -6/+6 | |
| | | | | | | ||||||
| * | | | | | Raise generic ParseError exception when ActionDispatch::ParamsParser fails ↵ | Szymon Nowak | 2012-08-24 | 3 | -4/+7 | |
| | | | | | | | | | | | | | | | | | | | | | | | | parsing request params. | |||||
* | | | | | | Add logger.push_tags and .pop_tags to complement logger.tagged | Jeremy Kemper | 2012-09-26 | 3 | -14/+59 | |
| | | | | | | ||||||
* | | | | | | Log newlines separately to ensure the 'Started GET ...' line has a tag on ↵ | Jeremy Kemper | 2012-09-25 | 1 | -1/+2 | |
| | | | | | | | | | | | | | | | | | | | | | | | | the same line | |||||
* | | | | | | fixing most tests on Ruby 2.0 | Aaron Patterson | 2012-09-25 | 2 | -3/+3 | |
| | | | | | | ||||||
* | | | | | | Revert "Use plaform mri_19 for debugger gem" | Aaron Patterson | 2012-09-25 | 1 | -6/+1 | |
| | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 2233f1456f6fb1b92e6c1bded70b89a3302c4306. | |||||
* | | | | | | Merge pull request #7759 from blowmage/minitest | Aaron Patterson | 2012-09-25 | 2 | -4/+3 | |
|\ \ \ \ \ \ | | | | | | | | | | | | | | | Add missing inflector dependency | |||||
| * | | | | | | Add missing inflector dependency | Mike Moore | 2012-09-25 | 2 | -4/+3 | |
| | | | | | | | ||||||
* | | | | | | | Fix destructive side effects from marshaling an association caused by ↵ | Jeremy Kemper | 2012-09-25 | 2 | -7/+7 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 65843e1acc0c8d285ff79f8c9c49d4d1215440be | |||||
* | | | | | | | Merge pull request #7757 from yahonda/skip_non_supported_isolation_level | Rafael Mendonça França | 2012-09-25 | 1 | -2/+6 | |
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | Skip tests for non-supported isolation levels | |||||
| * | | | | | | | Skip tests for non-supported isolation levels | Yasuo Honda | 2012-09-26 | 1 | -2/+6 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | i.e. Oracle database does not support these isolation levels. `:read_uncommitted` `:repeatable_read` This commit also works with other databases which do not support these isolation levels. | |||||
* | | | | | | | | Use plaform mri_19 for debugger gem | Santiago Pastorino | 2012-09-25 | 1 | -1/+6 | |
|/ / / / / / / | ||||||
* | | | | | | | Merge pull request #7756 from yahonda/isolation_level_oracle | Rafael Mendonça França | 2012-09-25 | 1 | -0/+2 | |
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | Skip tests for non-supported isolation levels with Oracle | |||||
| * | | | | | | | Skip tests for non-supported isolation levels with Oracle | Yasuo Honda | 2012-09-25 | 1 | -0/+2 | |
| | | | | | | | | ||||||
* | | | | | | | | Merge pull request #7754 from NARKOZ/image_tag-size | Rafael Mendonça França | 2012-09-25 | 3 | -6/+12 | |
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | Feature: set the same width and height for image if size attribute is a number | |||||
| * | | | | | | | | change ^ and $ anchors in regexp to \A and \z respectively | Nihad Abbasov | 2012-09-25 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | http://guides.rubyonrails.org/security.html#regular-expressions | |||||
| * | | | | | | | | allow to pass numerical value to size option in image_tag | Nihad Abbasov | 2012-09-25 | 3 | -5/+11 | |
|/ / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This will set image's both width and height attributes to value passed in size option. | |||||
* | | | | | | | | Merge pull request #7749 from blowmage/minitest | Aaron Patterson | 2012-09-25 | 16 | -11/+726 | |
|\ \ \ \ \ \ \ \ | |/ / / / / / / |/| / / / / / / | |/ / / / / / | Improve support for minitest's spec DSL | |||||
| * | | | | | | Register AD::IntegrationTest for minitest's spec DSL | Mike Moore | 2012-09-24 | 2 | -0/+44 | |
| | | | | | | | ||||||
| * | | | | | | Support helper tests using spec DSL | Mike Moore | 2012-09-24 | 3 | -5/+60 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Improve how helper tests to resolve the helper class from the test name. Add tests for helper tests using the minitest spec DSL. | |||||
| * | | | | | | Register helper and view tests for minitest's spec DSL | Mike Moore | 2012-09-24 | 2 | -0/+42 | |
| | | | | | | | ||||||
| * | | | | | | Support mailer tests using spec DSL | Mike Moore | 2012-09-24 | 2 | -3/+149 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Improve how mailer tests to resolve mailers from the test name. Add tests for mailer tests using the minitest spec DSL. | |||||
| * | | | | | | Register mailer tests for minitest's spec DSL | Mike Moore | 2012-09-24 | 2 | -0/+44 | |
| | | | | | | | ||||||
| * | | | | | | Add register_spec_type test coverage | Mike Moore | 2012-09-24 | 1 | -0/+23 | |
| | | | | | | | ||||||
| * | | | | | | Allow strings in the controller test describe blocks | Mike Moore | 2012-09-24 | 3 | -0/+130 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Allow controller tests using the spec DSL to match strings. Add test coverage for the register_spec_type calls. |