aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | Revert "fix history"davetoxa2013-01-161-123/+0
| | | | | | | | | | | | | | | | This reverts commit dd319600010f4fdc4fac58e5b192bb96fe0d3d7e.
| * | | Revert "Improves documentation about Fragment Caching. [ci skip]"davetoxa2013-01-161-47/+0
| | | | | | | | | | | | | | | | This reverts commit 814c9875ec4cf01e1348d1ab1c9d12eee5a9adac.
| * | | fix historydavetoxa2013-01-161-0/+123
| | | |
| * | | Improves documentation about Fragment Caching. [ci skip]Nicholas Schultz-Møller2013-01-151-0/+47
| | | | | | | | | | | | | | | | | | | | | | | | Adds documentation for: - Aggregate cache keys, - using an ActiveRecord model as cache key and - Russian Doll Caching.
| * | | fix reference to ActiveSupport::ProxyObjectMatt Bridges2013-01-131-1/+1
| | | |
| * | | Fix simple expressionJude Arasu2013-01-131-1/+1
| | | |
| * | | Fix typo in guides/source/engines.mdZachary Porter2013-01-111-1/+1
| | | |
| * | | Fix typo in guides/source/engines.mdZachary Porter2013-01-111-1/+1
| | | |
| * | | Update engine application layout file pathZachary Porter2013-01-111-1/+1
| | | |
| * | | Update guides/source/active_record_basics.mdBenoit Caccinolo2013-01-111-1/+1
| | | |
| * | | Clarified the minute option on DateTime#changeJakob Waller2013-01-101-1/+1
| | | |
| * | | update assets guide code stylingGosha Arinich2013-01-101-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | * 1.9 hash syntax * proper formatting around one line blocks * do-end for multiline blocks
| * | | remove 'update' duplicationsJuanjo Bazán2013-01-082-2/+0
| | | |
* | | | Merge pull request #9084 from senny/document_am_delivieries_resetJosé Valim2013-01-261-0/+2
|\ \ \ \ | | | | | | | | | | document the behavior of `ActionMailer::Base.delivieries` in tests
| * | | | document the behavior of `ActionMailer::Base.delivieries` in testsYves Senn2013-01-261-0/+2
| | | | | | | | | | | | | | | | | | | | thanks @danielpuglisi
* | | | | Merge pull request #9078 from senny/6865_ar_count_with_uniqRafael Mendonça França2013-01-263-1/+15
|\ \ \ \ \ | | | | | | | | | | | | `#count` in conjunction with `#uniq` performs distinct count.
| * | | | | `#count` in conjunction with `#uniq` performs distinct count.Yves Senn2013-01-263-1/+15
| | | | | | | | | | | | | | | | | | | | | | | | closes #6865
* | | | | | Add keys/values methods to TestSessionCarlos Antonio da Silva2013-01-252-5/+19
| | | | | | | | | | | | | | | | | | | | | | | | Bring back the same API we have with Request::Session.
* | | | | | Integrate Action Pack with Rack 1.5Carlos Antonio da Silva2013-01-258-19/+37
|/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | All ActionPack and Railties tests are passing. Closes #8891. [Carlos Antonio da Silva + Santiago Pastorino]
* | | | | Merge pull request #9046 from exviva/actionmailer_subject_interpolationsCarlos Antonio da Silva2013-01-254-3/+31
|\ \ \ \ \ | | | | | | | | | | | | Allow passing interpolations to #default_i18n_subject in mailers
| * | | | | Allow passing interpolations to `#default_i18n_subject`, e.g.:Olek Janiszewski2013-01-244-3/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | # config/locales/en.yml en: user_mailer: welcome: subject: 'Hello, %{username}' # app/mailers/user_mailer.rb class UserMailer < ActionMailer::Base def welcome(user) mail(subject: default_i18n_subject(username: user.name)) end end
* | | | | | Merge pull request #8303 from jeremywrowe/masterRafael Mendonça França2013-01-253-1/+11
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes improper database name when creating a new rails app with a '.' Conflicts: railties/CHANGELOG.md
| * | | | | | Fixes improper database name when a '.' is included while creating a new railsJeremy W. Rowe2013-01-163-1/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | application. EG: `rails new something.awesome.com` Conflicts: railties/CHANGELOG.md
* | | | | | | Remove obsolete test fileJon Leighton2013-01-251-35/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | https://github.com/rails/rails/commit/4beb4dececcf10c642c74fbcb8548c833e921a86#commitcomment-2482869
* | | | | | | Deprecate the `eager_load_paths` configurationAndrew White2013-01-247-66/+91
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since the default in Rails 4.0 is to run in 'threadsafe' mode we need to eager load all of the paths in `autoload_paths` so we alias `eager_load_paths` to it. This may have unintended consequences if you have added 'lib' to `autoload_paths` such as loading unneeded code or code intended only for development and/or test environments. If this applies to your application you should thoroughly check what is being eager loaded.
* | | | | | | use the helpers list rather than getting the methods from the moduleAaron Patterson2013-01-241-1/+1
| | | | | | |
* | | | | | | module_eval is not necessary hereAaron Patterson2013-01-241-3/+1
| | | | | | |
* | | | | | | don't need to eval everythingAaron Patterson2013-01-241-1/+1
| | | | | | |
* | | | | | | reduce the number of queries on IN clauses, fix relation queries in `where`Aaron Patterson2013-01-243-2/+20
| | | | | | |
* | | | | | | stop converting strings to symbolsAaron Patterson2013-01-241-1/+1
| | | | | | |
* | | | | | | Default dead_connection_timeout to 5Akira Matsuda2013-01-241-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | or the ConnectionPool silently fails to close connections inside the Thread
* | | | | | | Describing the reason for defining BlankTopic#blank? which will never be calledAkira Matsuda2013-01-241-0/+1
| | | | | | |
* | | | | | | Revert "Unused methods, module, etc."Akira Matsuda2013-01-244-0/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 4e05bfb8e254c3360a3ca4a6cb332995314338fe. Reason: BlankTopic#blank? should not be removed to check that dynamic finder with a bang can find a model that responds to `blank?`
* | | | | | | Unused methods, module, etc.Akira Matsuda2013-01-244-28/+0
| | | | | | |
* | | | | | | Set Thread.abort_on_exception for the whole AS, AP, and AR testsAkira Matsuda + Koichi Sasada2013-01-243-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | this would give us some more clues in case a test silently dies inside Thread
* | | | | | | Unused test modelAkira Matsuda2013-01-241-5/+0
| | | | | | |
* | | | | | | Goodbye there, very special rubbish!Akira Matsuda2013-01-244-19/+1
| | | | | | |
* | | | | | | proxy_{owner,reflection,target} are no more availableAkira Matsuda2013-01-241-11/+1
| | | | | | |
* | | | | | | Unused model DeprecatedPostWithCommentAkira Matsuda2013-01-241-7/+0
| | | | | | |
* | | | | | | Depend on thor >= 0.17.0Carlos Antonio da Silva2013-01-232-4/+1
| | | | | | |
* | | | | | | Fix PostgreSQL tests on TravisAndrew White2013-01-243-11/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Travis only has PostgreSQL 9.1.x but 9.2 is required for range datatypes.
* | | | | | | ActionDispatch::Http::UploadedFile is a permitted scalar [Closes #9051]Xavier Noria2013-01-232-3/+7
| | | | | | |
* | | | | | | Merge pull request #7345 from slbug/masterRafael Mendonça França2013-01-2311-189/+431
|\ \ \ \ \ \ \ | |_|/ / / / / |/| | | | | | Postgresql range support
| * | | | | | Add postgresql range types supportbUg2013-01-2311-189/+431
| | | | | | |
* | | | | | | Remove warning by using a custom coderAndrew White2013-01-231-2/+16
|/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The native JSON library bypasses the `to_json` overrides in active_support/core_ext/object/to_json.rb by calling its native implementation directly. However `ActiveRecord::Store` uses a HWIA so `JSON.dump` will call our `to_json` instead with a `State` object for options rather than a `Hash`. This generates a warning when the `:encoding`, `:only` & `:except` keys are accessed in `Hash#as_json` because the `State` object delegates unknown keys to `instance_variable_get` in its `:[]` method. Workaround this warning in the test by using a custom coder that calls `ActiveSupport::JSON.encode` directly.
* | | | | | Merge pull request #9035 from adomokos/aligning_testsCarlos Antonio da Silva2013-01-231-0/+8
|\ \ \ \ \ \ | | | | | | | | | | | | | | Adding the route_key and param_key tests
| * | | | | | Adding the route_key and param_key testsAttila Domokos2013-01-221-0/+8
| | |_|_|_|/ | |/| | | | | | | | | | This way all the tests are testing the same fields
* | | | | | A test case name needs to start with "test_"Akira Matsuda2013-01-231-1/+1
| | | | | |
* | | | | | Fix some wrong String extensions testsAkira Matsuda2013-01-231-7/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * ASCII_STRING was not an ASCII String * BYTE_STRING was not an in valid UTF-8 String * added an assertion for non-UTF-8 String
* | | | | | Test String#dasherizeAkira Matsuda2013-01-231-0/+6
| | | | | |