aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Collection radio buttons and collection check boxes through FormBuilder renderJosé Mota2013-01-122-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.
* Fix AR tests due to Mysql constant not being definedCarlos Antonio da Silva2013-01-123-7/+5
|
* Deprecate `Rails::Generators::ActiveModel#update_attributes`Carlos Antonio da Silva2013-01-122-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 tasksCarlos Antonio da Silva2013-01-127-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/masterRafael Mendonça França2013-01-111-1/+2
|\ | | | | Fix regression introduced in pull 8812
| * Fix regression introduced in pull request 8812Sam Ruby2013-01-111-1/+2
|/ | | | See https://github.com/rails/rails/pull/8812#commitcomment-2416514
* Merge pull request #8896 from NARKOZ/patch-5Rafael Mendonça França2013-01-111-2/+2
|\ | | | | remove_possible_method -> remove_method
| * remove_possible_method -> remove_methodNihad Abbasov2013-01-111-2/+2
|/ | | | Date#to_time and Date#xmlschema methods defined in Ruby 1.9.3
* Add changelog entry for scaffold generator and jbuilder changesCarlos Antonio da Silva2013-01-111-0/+9
| | | | | | | Introduced in 3bfd99defb559af0b017ee920ca714aa1e367fdd. Related to #8840. [ci skip]
* Merge pull request #8882 from goshakkk/clearer-conditionalCarlos Antonio da Silva2013-01-111-3/+3
|\ | | | | Clearer conditional in constraint match check
| * clearer conditional in constraint match checkGosha Arinich2013-01-101-3/+3
| |
* | Merge pull request #8866 from adomokos/adding_more_tests_to_errors_testCarlos Antonio da Silva2013-01-111-0/+53
|\ \ | | | | | | Adding tests to cover untested methods in errors_tests.rb
| * | Covering untested methods for ActiveModel::ErrorsAttila Domokos2013-01-101-0/+53
| | |
* | | Merge pull request #8623 from virusman/form_helpers_collectionproxy_fixJon Leighton2013-01-112-1/+24
|\ \ \ | | | | | | | | Fixed nested fields bug when called with AssociationProxy
| * | | Test nested fields with AssociationProxy mockup & fix AssociationProxy ↵virusman2012-12-272-1/+24
| | | | | | | | | | | | | | | | support in form helper
* | | | Merge pull request #8568 from inossidabile/fix-in_clause_lengthJon Leighton2013-01-113-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 Staal2012-12-203-8/+13
| | | | | | | | | | | | | | | | | | | | (fixes #8474)
* | | | | Merge pull request #8855 from dylanahsmith/parse-non-object-json-paramsJeremy Kemper2013-01-103-2/+13
|\ \ \ \ \ | | | | | | | | | | | | Fix json params parsing regression for non-object JSON content.
| * | | | | Fix json params parsing regression for non-object JSON content.Dylan Smith2013-01-113-2/+13
|/ / / / / | | | | | | | | | | | | | | | Fixes #8845.
* | | | | All green with Ruby 2.0 :green_heart:Rafael Mendonça França2013-01-111-3/+0
| | | | |
* | | | | Use thor master to make rails work with Ruby 2.0Rafael Mendonça França2013-01-111-0/+2
| | | | |
* | | | | thread_safe is a dependency of active_supportRafael Mendonça França2013-01-111-1/+0
| | | | |
* | | | | Merge pull request #8887 from rwz/controller-scaffold-codestyleRafael Mendonça França2013-01-103-4/+4
|\ \ \ \ \ | | | | | | | | | | | | Controller scaffold codestyle
| * | | | | More consistent quotes in scaffold generatorPavel Pravosud2013-01-112-3/+3
| | | | | |
| * | | | | Changed if ! to unlessPavel Pravosud2013-01-111-1/+1
| | | | | |
* | | | | | Merge pull request #8886 from rwz/specify-jbuilder-versionGuillermo Iguaran2013-01-101-1/+1
|\ \ \ \ \ \ | |/ / / / / |/| | | | | Specified jbuilder version
| * | | | | Specified jbuilder versionPavel Pravosud2013-01-111-1/+1
|/ / / / /
* | | | | Merge pull request #8884 from mattdbridges/array-access-doc-fixesGuillermo Iguaran2013-01-101-4/+4
|\ \ \ \ \ | |_|_|_|/ |/| | | | Updating Array access docs more consistent
| * | | | Updating Array access docs more consistentMatt Bridges2013-01-101-4/+4
|/ / / / | | | | | | | | | | | | [ci skip]
* | | | Merge pull request #8869 from goshakkk/guides-asset-pipeline-tiltGuillermo Iguaran2013-01-101-1/+25
|\ \ \ \ | | | | | | | | | | Add asset pipeline guides section on implementing & registering own engines
| * | | | add asset pipeline guides section on implementing & registering own enginesGosha Arinich2013-01-101-1/+25
| | | | |
* | | | | Relax bundler dep until 1.3.0 is actually released.Jeremy Kemper2013-01-102-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Revert "Bump bundler dep to 1.3.0.pre.4+ to introduce 'bundle binstubs <gem>'" This reverts commit e00b8ecf1ad8984b760f12e61247820613aec4ee. Revert "Use bundler --pre for travis builds" This reverts commit 4d240ec20a70122b7e69c790a37d2be14e1ff038.
* | | | | Include jbuilder by default and rely on its scaffold generator to show json ↵David Heinemeier Hansson2013-01-106-99/+14
| | | | | | | | | | | | | | | | | | | | API. The default scaffold will now just create HTML if the user actively opts out of jbuilder
* | | | | Merge pull request #8878 from senny/add_performance_test_extraction_to_guideGuillermo Iguaran2013-01-101-0/+1
|\ \ \ \ \ | | | | | | | | | | | | Mention performance test extraction in 4.0 guide
| * | | | | mention performance test extraction in 4.0 guideYves Senn2013-01-101-0/+1
|/ / / / /
* | | | | Merge pull request #8876 from senny/extract_performance_testsGuillermo Iguaran2013-01-1033-1640/+20
|\ \ \ \ \ | | | | | | | | | | | | Extract ActionDispatch::PerformanceTest
| * | | | | remove the rails guide on performance testingYves Senn2013-01-103-692/+0
| | | | | |
| * | | | | remove performance tests from the default stackYves Senn2013-01-1010-47/+5
| | | | | |
| * | | | | extract PerformanceTest into rails-performance_tests gemYves Senn2013-01-1021-901/+15
| | |_|_|/ | |/| | |
* | | | | Merge pull request #8821 from jamis/masterRafael Mendonça França2013-01-102-7/+3
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | Evaluate view_cache_dependencies at the instance level Conflicts: actionpack/lib/action_controller/caching.rb
| * | | | evaluate the dependency blocks at the instance level, not class levelJamis Buck2013-01-082-7/+3
| | | | |
* | | | | Merge pull request #8863 from zires/devCarlos Antonio da Silva2013-01-101-1/+1
|\ \ \ \ \ | |_|/ / / |/| | | | Remove redundant double quotation marks [ci skip]
| * | | | Remove redundant double quotation markszires2013-01-101-1/+1
|/ / / /
* | | | fire a notification when the request stops / startsAaron Patterson2013-01-092-2/+88
| | | |
* | | | adding missing requiresAaron Patterson2013-01-093-1/+12
| | | |
* | | | extract logger and development checks to methodsAaron Patterson2013-01-091-6/+16
| | | |
* | | | adding start / finish on the instrumenter, adding tests for the classAaron Patterson2013-01-092-6/+67
| | | |
* | | | Merge pull request #8859 from tehgeekmeister/masterVijay Dev2013-01-091-2/+2
|\ \ \ \ | | | | | | | | | | Fix a typo in a test.
| * | | | s/messqage/message/ in message_encryptor_test.rbEzekiel Smithburg2013-01-091-2/+2
| | | | |
* | | | | Merge pull request #8848 from Irio/masterCarlos Antonio da Silva2013-01-091-1/+1
|\ \ \ \ \ | | | | | | | | | | | | Set default value to ActiveModel::Validator initializer attribute