Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge pull request #8930 from cordawyn/ordered_railties | Carlos Antonio da Silva | 2013-01-15 | 2 | -1/+5 |
|\ | | | | | rake railties:install:migrations respects the order of railties | ||||
| * | rake railties:install:migrations respects the order of railties | Slava Kravchenko | 2013-01-14 | 2 | -1/+5 |
| | | |||||
* | | Revert "log at debug level what line caused the redirect_to" | Carlos Antonio da Silva | 2013-01-15 | 1 | -1/+0 |
| | | | | | | | | | | | | | | | | This reverts commit 3fa00070047b5d019d39e691598ee2890283d052. Reason: This message is usually not accurate and annoying: Redirected by ~/.rbenv/versions/1.9.3-p327-perf/lib/ruby/1.9.1/logger.rb:371:in `add'` | ||||
* | | Improve mysql database tasks handling to ensure we always rescue from an ↵ | Carlos Antonio da Silva | 2013-01-15 | 1 | -9/+13 |
| | | | | | | | | | | | | | | | | | | | | exception We were previously rescuing "nil" when no exception class was found. This does work in 1.9.3, but does not in 2.0, raising an exception asking for a class or module to be given to the rescue clause. Thanks @yahonda for catching this. | ||||
* | | Revert "Merge pull request #8942 from yahonda/tested_only_with_mysql" | Carlos Antonio da Silva | 2013-01-15 | 1 | -4/+0 |
| | | | | | | | | | | | | | | | | | | | | | | This reverts commit 1fc294f988e93ac59057a16b0e44b9cf93af9720, reversing changes made to fb9ac47c286fbdfe05263d4d0346e50892090603. Reason: these tests should run fine independent of database, since they should only take into account the configuration options. The problem was related to a change in the way "nil" is handled by the rescue clause, in Ruby 2.0 it raises an exception asking for class or module, in 1.9 it passes. | ||||
* | | Merge pull request #8949 from joneslee85/patch-2 | Xavier Noria | 2013-01-15 | 1 | -2/+2 |
|\ \ | | | | | | | ActiveRecord <-> Active Record [ci skip] | ||||
| * | | ActiveRecord <-> Active Record [ci skip] | Trung Lê | 2013-01-15 | 1 | -2/+2 |
|/ / | |||||
* | | Merge pull request #8946 from reednj77/rack-cache-headers | David Heinemeier Hansson | 2013-01-14 | 1 | -6/+6 |
|\ \ | | | | | | | Account for ignored cookie set by turbolinks | ||||
| * | | Account for ignored cookie set by turbolinks | Nick Reed | 2013-01-14 | 1 | -6/+6 |
| | | | |||||
* | | | Merge pull request #8947 from joneslee85/patch-1 | Guillermo Iguaran | 2013-01-14 | 1 | -1/+1 |
|\ \ \ | |/ / |/| | | Use Rails 4 find_by in README [ci skip] | ||||
| * | | Use Rails 4 find_by in README [ci skip] | Trung Lê | 2013-01-15 | 1 | -1/+1 |
|/ / | |||||
* | | Merge pull request #8942 from yahonda/tested_only_with_mysql | Rafael Mendonça França | 2013-01-14 | 1 | -0/+4 |
|\ \ | | | | | | | Address test_create_when_database_exists_outputs_info_to_stderr failures | ||||
| * | | Address test_create_when_database_exists_outputs_info_to_stderr failures | Yasuo Honda | 2013-01-15 | 1 | -0/+4 |
| |/ | | | | | | | | | When tested with ruby-2.0.0-rc1 `rake test` executes this test even if the target adapter is not mysql nor mysql2. | ||||
* | | Merge pull request #8939 from senny/to_partial_path_test_to_prevent_regressions | Rafael Mendonça França | 2013-01-14 | 2 | -0/+8 |
|\ \ | | | | | | | test case for ActiveModel::Conversion#to_partial_path and namespaced models | ||||
| * | | test for ActiveModel::Conversion#to_partial_path and namespaced models | Yves Senn | 2013-01-14 | 2 | -0/+8 |
| | | | |||||
* | | | Merge pull request #8938 from colinbm/date_select_value | Steve Klabnik | 2013-01-14 | 4 | -4/+57 |
|\ \ \ | |/ / |/| | | Rename :value to :selected for date_select, and add missing tests/docs | ||||
| * | | Rename :value option to :selected, in line with other select helpers | Colin Burn-Murdoch | 2013-01-14 | 4 | -4/+57 |
| | | | | | | | | | | | | | | | Add tests for time & datetime. Add documentation. | ||||
* | | | Revert benchmark helper regression. Use a #capture within a #benchmark | Jeremy Kemper | 2013-01-14 | 3 | -39/+3 |
| |/ |/| | | | | | | | | | | | | | | | | | | | | | | | block. Breaks benchmark calls that return non-String values otherwise. Revert "add benchmark helper that works in erb" This reverts commit 904e544cc8f5846de7c31827bb5556c6a238c0de. Conflicts: actionpack/lib/action_view/helpers.rb actionpack/lib/action_view/helpers/benchmark_helper.rb actionpack/test/template/benchmark_helper_test.rb | ||||
* | | Test to allow Range including DateTime and DateTime::Infinity | gsphanikumar | 2013-01-14 | 1 | -0/+6 |
| | | | | | | | | Closes #8587 | ||||
* | | Merge pull request #8916 from josemota/collection-with-block | Rafael Mendonça França | 2013-01-13 | 2 | -4/+53 |
|\ \ | | | | | | | | | | | | | Collection radio buttons and collection check boxes through FormBuilder render the provided block. Closes #8897 | ||||
| * | | Collection radio buttons and collection check boxes through FormBuilder render | José Mota | 2013-01-12 | 2 | -4/+53 |
| | | | | | | | | | | | | | | | | | | | | | | | | the provided block. In the case of having a form_for method being called, the block for each collection would not be passed and thus the result expected was always the same. This patch passes the block to the original method like it would be assumed. | ||||
* | | | Add regression test to #8907 | Rafael Mendonça França | 2013-01-14 | 1 | -0/+31 |
| | | | |||||
* | | | Merge pull request #8917 from adomokos/adding_more_tests_to_activemodel_model | Rafael Mendonça França | 2013-01-13 | 1 | -0/+6 |
|\ \ \ | | | | | | | | | Adding tests for ActiveModel::Model | ||||
| * | | | Adding tests for ActiveModel::Model | Attila Domokos | 2013-01-12 | 1 | -0/+6 |
| |/ / | | | | | | | | | | | | | | | | * Verifying persisted? is false when Model initialized * Passing nil to Model should not blow up * Changing test name to the one suggested in pull request comment | ||||
* | | | Merge pull request #8925 from colinbm/date_select_value | Steve Klabnik | 2013-01-13 | 3 | -1/+26 |
|\ \ \ | | |/ | |/| | Allow to override the value on date_select | ||||
| * | | Allow value to be set on date_select | Colin Burn-Murdoch | 2013-01-13 | 3 | -1/+26 |
|/ / | |||||
* | | Remove WIP from Working With JavaScript Guide. | Steve Klabnik | 2013-01-13 | 1 | -1/+0 |
| | | | | | | | | Now that we've fixed the fibs example, this is good to go. | ||||
* | | Associaton -> Association | Steve Klabnik | 2013-01-13 | 1 | -2/+2 |
|/ | |||||
* | Fix AR tests due to Mysql constant not being defined | Carlos Antonio da Silva | 2013-01-12 | 3 | -7/+5 |
| | |||||
* | Deprecate `Rails::Generators::ActiveModel#update_attributes` | Carlos Antonio da Silva | 2013-01-12 | 2 | -0/+23 |
| | | | | | | | | | | | | | | | | Deprecate #update_attributes in favor of `#update`. ORMs that implement `Generators::ActiveModel#update_attributes` should change to `#update`. Scaffold controller generators should change calls like: @orm_instance.update_attributes(...) to: @orm_instance.update(...) This goes along with the addition of `ActiveRecord::Base#update`, introduced in cb2bd4aa619d9329c42aaf6d9f8eacc616ce53f4. | ||||
* | Bring back "database already exists" messages when running rake tasks | Carlos Antonio da Silva | 2013-01-12 | 7 | -20/+47 |
| | | | | | | | | | | When running tasks such "rake db:setup", instead of showing messages like "db_development already exists", it was showing a big stack trace and a message "Couldn't create database for ..." with the configuration options, a very confusing message with a big trace. This brings back the functionality present in 3-2, showing the same message. | ||||
* | Merge pull request #8907 from rubys/master | Rafael Mendonça França | 2013-01-11 | 1 | -1/+2 |
|\ | | | | | Fix regression introduced in pull 8812 | ||||
| * | Fix regression introduced in pull request 8812 | Sam Ruby | 2013-01-11 | 1 | -1/+2 |
|/ | | | | See https://github.com/rails/rails/pull/8812#commitcomment-2416514 | ||||
* | Merge pull request #8896 from NARKOZ/patch-5 | Rafael Mendonça França | 2013-01-11 | 1 | -2/+2 |
|\ | | | | | remove_possible_method -> remove_method | ||||
| * | remove_possible_method -> remove_method | Nihad Abbasov | 2013-01-11 | 1 | -2/+2 |
|/ | | | | Date#to_time and Date#xmlschema methods defined in Ruby 1.9.3 | ||||
* | Add changelog entry for scaffold generator and jbuilder changes | Carlos Antonio da Silva | 2013-01-11 | 1 | -0/+9 |
| | | | | | | | Introduced in 3bfd99defb559af0b017ee920ca714aa1e367fdd. Related to #8840. [ci skip] | ||||
* | Merge pull request #8882 from goshakkk/clearer-conditional | Carlos Antonio da Silva | 2013-01-11 | 1 | -3/+3 |
|\ | | | | | Clearer conditional in constraint match check | ||||
| * | clearer conditional in constraint match check | Gosha Arinich | 2013-01-10 | 1 | -3/+3 |
| | | |||||
* | | Merge pull request #8866 from adomokos/adding_more_tests_to_errors_test | Carlos Antonio da Silva | 2013-01-11 | 1 | -0/+53 |
|\ \ | | | | | | | Adding tests to cover untested methods in errors_tests.rb | ||||
| * | | Covering untested methods for ActiveModel::Errors | Attila Domokos | 2013-01-10 | 1 | -0/+53 |
| | | | |||||
* | | | Merge pull request #8623 from virusman/form_helpers_collectionproxy_fix | Jon Leighton | 2013-01-11 | 2 | -1/+24 |
|\ \ \ | | | | | | | | | Fixed nested fields bug when called with AssociationProxy | ||||
| * | | | Test nested fields with AssociationProxy mockup & fix AssociationProxy ↵ | virusman | 2012-12-27 | 2 | -1/+24 |
| | | | | | | | | | | | | | | | | support in form helper | ||||
* | | | | Merge pull request #8568 from inossidabile/fix-in_clause_length | Jon Leighton | 2013-01-11 | 3 | -8/+13 |
|\ \ \ \ | | | | | | | | | | | Correct source for in_clause_length for eager loading (Fix for #8474) | ||||
| * | | | | Eager loading made to use relation's in_clause_length instead of host's one ↵ | Boris Staal | 2012-12-20 | 3 | -8/+13 |
| | | | | | | | | | | | | | | | | | | | | (fixes #8474) | ||||
* | | | | | Merge pull request #8855 from dylanahsmith/parse-non-object-json-params | Jeremy Kemper | 2013-01-10 | 3 | -2/+13 |
|\ \ \ \ \ | | | | | | | | | | | | | Fix json params parsing regression for non-object JSON content. | ||||
| * | | | | | Fix json params parsing regression for non-object JSON content. | Dylan Smith | 2013-01-11 | 3 | -2/+13 |
|/ / / / / | | | | | | | | | | | | | | | | Fixes #8845. | ||||
* | | | | | All green with Ruby 2.0 :green_heart: | Rafael Mendonça França | 2013-01-11 | 1 | -3/+0 |
| | | | | | |||||
* | | | | | Use thor master to make rails work with Ruby 2.0 | Rafael Mendonça França | 2013-01-11 | 1 | -0/+2 |
| | | | | | |||||
* | | | | | thread_safe is a dependency of active_support | Rafael Mendonça França | 2013-01-11 | 1 | -1/+0 |
| | | | | | |||||
* | | | | | Merge pull request #8887 from rwz/controller-scaffold-codestyle | Rafael Mendonça França | 2013-01-10 | 3 | -4/+4 |
|\ \ \ \ \ | | | | | | | | | | | | | Controller scaffold codestyle |