aboutsummaryrefslogtreecommitdiffstats
path: root/railties
Commit message (Collapse)AuthorAgeFilesLines
* ActiveSupport::SynchronousQueue doesn't have the drain method.Rafael Mendonça França2012-10-121-4/+4
| | | | | Now we are using teh SynchronousQueue in the test environment instead of the TestQueue
* Move the TestQueue tests to the proper fileRafael Mendonça França2012-10-121-47/+0
|
* Add .rake to `rake notes` and `rake notes:custom`Brent J. Nordquist2012-10-123-8/+12
|
* Immediately run queued jobs in tests. Otherwise you have to explicitly drain ↵Jeremy Kemper2012-10-122-5/+5
| | | | the queue to actually deliver your emails.
* No need to test for rack-cache present in GemfileArun Agrawal2012-10-111-5/+0
| | | | | | as it's removed here 1fc795468525d8622cdca474a54c8310a514aa46
* Fixing build failuresVijay Dev2012-10-116-14/+14
| | | | | | | Build failed with an error "invalid multibyte char (US-ASCII)" in these files. Apparently, some UTF-8 char disguised as whitespace causes this. Thanks @rafaelfranca
* Merge pull request #7898 from olivierlacan/pg_homebrew_instructionsVijay Dev2012-10-101-1/+3
|\ | | | | Offer instructions for pg gem when installed via Homebrew
| * Offer instructions for pg gem when installed via HomebrewOlivier Lacan2012-10-101-1/+3
| |
* | Merge branch 'master' of github.com:lifo/docrailsVijay Dev2012-10-1140-94/+87
|\ \ | | | | | | | | | | | | | | | Conflicts: activerecord/lib/active_record/persistence.rb railties/lib/rails/generators/rails/resource_route/resource_route_generator.rb
| * | copy-edit the email delivery errors commentVijay Dev2012-10-111-1/+1
| | |
| * | update Rails::Generators docs [ci skip]Francesco Rodriguez2012-10-0722-43/+35
| | |
| * | nodoc JS::Generators [ci skip]Francesco Rodriguez2012-10-071-3/+3
| | |
| * | nodoc Erb::Generators [ci skip]Francesco Rodriguez2012-10-074-11/+11
| | |
| * | nodoc CSS::Generators [ci skip]Francesco Rodriguez2012-10-072-6/+6
| | |
| * | nodoc TestUnit::Generators [ci skip]Francesco Rodriguez2012-10-0710-30/+30
| | |
| * | Update ↵Adrien Lamothe2012-10-061-1/+2
| | | | | | | | | | | | railties/lib/rails/generators/rails/app/templates/config/environments/production.rb.tt
* | | fix github url [ci skip]Vijay Dev2012-10-111-1/+1
| | |
* | | Merge branch 'master' of github.com:rails/railsDavid Heinemeier Hansson2012-10-1032-127/+151
|\ \ \
| * | | warning fixed: ambiguous first argument; put parentheses or even spacesArun Agrawal2012-10-101-7/+7
| | |/ | |/|
| * | Update test locationsMike Moore2012-10-0926-93/+128
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change the default test locations to avoid confusion around the common testing terms "unit" and "functional". Add new rake tasks for the new locations, while maintaining backwards compatibility with the old rake tasks. New testing locations are as follows: app/models -> test/models (was test/units) app/helpers -> test/helpers (was test/units/helpers) app/controllers -> test/controllers (was test/functional) app/mailers -> test/mailers (was test/functional)
| * | Merge pull request #7885 from guilleiguaran/railties-changelogRafael Mendonça França2012-10-091-2/+7
| |\ \ | | | | | | | | Add missing entry in CHANGELOG about config.assets.cache change
| | * | Add missing entry in CHANGELOG about config.assets.cache changeGuillermo Iguaran2012-10-091-2/+7
| | | |
| * | | Merge pull request #7883 from guilleiguaran/refactor-assets-testRafael Mendonça França2012-10-092-16/+1
| |\ \ \ | | | | | | | | | | Minor refactors in assets test
| | * | | Remove duplicated testGuillermo Iguaran2012-10-091-15/+0
| | | | |
| | * | | Minor test refactoring: Use add_to_env instead of an initializerGuillermo Iguaran2012-10-091-1/+1
| | |/ /
| * / / Rails.config doesn't exist, it should be Rails.application.config insteadGuillermo Iguaran2012-10-091-3/+3
| |/ /
| * | Remove duplicate 'the' article in commented lineclaudiob2012-10-081-1/+1
| | | | | | | | | | | | The sentence used to read "at the bottom of the the compiled file"
| * | Merge pull request #7873 from steveklabnik/update_initializerDavid Heinemeier Hansson2012-10-082-8/+7
| |\ \ | | | | | | | | Moving locale stuff from app.rb to an initializer.
| | * | Moving locale stuff from app.rb to an initializer.Steve Klabnik2012-10-082-8/+7
| | | |
* | | | There is already an invitation to use rack-cache in ↵David Heinemeier Hansson2012-10-081-3/+0
|/ / / | | | | | | | | | config/environments/production.rb
* | | Cleanup comments a bit and fuck 80 charactersDavid Heinemeier Hansson2012-10-081-16/+10
| | |
* | | Inline commentDavid Heinemeier Hansson2012-10-081-3/+1
|/ /
* | Encoding already defaults to utf-8 per lib/rails/application/configuration.rb:23David Heinemeier Hansson2012-10-081-3/+0
| |
* | Everyone is running bundler, no need for defensive programming shitDavid Heinemeier Hansson2012-10-081-2/+2
| |
* | Not precompiling your assets for production is a bad idea -- do not encourage itDavid Heinemeier Hansson2012-10-081-6/+2
| |
* | Rename "Fixtures" class to "FixtureSet"Alexey Muranov2012-10-071-2/+2
| | | | | | | | Rename `ActiveRecord::Fixtures` class to `ActiveRecord::FixtureSet`. Instances of this class normally hold a collection of fixtures (records) loaded either from a single YAML file, or from a file and a folder with the same name. This change make the class name singular and makes the class easier to distinguish from the modules like `ActiveRecord::TestFixtures`, which operates on multiple fixture sets, or `DelegatingFixtures`, `::Fixtures`, etc., and from the class `ActiveRecord::Fixture`, which corresponds to a single fixture.
* | Gotta log each spacer line separately to ensure each is taggedJeremy Kemper2012-10-061-1/+4
| |
* | Tag the blank log line between dev requests so it's easier to filter out ↵Jeremy Kemper2012-10-061-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | entire requests with grep -v without leaving a stray newline behind. Example: # Tag asset requests so it's easy to filter them from dev logs config.log_tags = [ -> request { :assets if request.path.starts_with?(config.assets.prefix) }, -> request { request.uuid } ] # Watch the logs, ignoring asset requests $ tail -100f log/development.log | grep -v assets
* | Remove unneeded attr_readerRafael Mendonça França2012-10-071-1/+0
| |
* | use Rails backtrace in testsFrancesco Rodriguez2012-10-051-0/+4
| |
* | Fix middleware cache tests enabling rack_cacheGuillermo Iguaran2012-10-051-0/+2
| |
* | Revert "Use flat_map { } instead of map {}.flatten"Santiago Pastorino2012-10-054-5/+5
| | | | | | | | | | | | | | | | | | | | | | This reverts commit abf8de85519141496a6773310964ec03f6106f3f. We should take a deeper look to those cases flat_map doesn't do deep flattening. irb(main):002:0> [[[1,3], [1,2]]].map{|i| i}.flatten => [1, 3, 1, 2] irb(main):003:0> [[[1,3], [1,2]]].flat_map{|i| i} => [[1, 3], [1, 2]]
* | Use flat_map { } instead of map {}.flattenSantiago Pastorino2012-10-054-5/+5
| |
* | Comment rack-cache entry on GemfileGuillermo Iguaran2012-10-041-1/+1
| |
* | config.action_dispatch.rack_cache should set explicitly to enable Rack::CacheGuillermo Iguaran2012-10-043-1/+24
| |
* | Use String#exclude? to make sure that Active Support is not loaded whenRafael Mendonça França2012-10-041-1/+1
| | | | | | | | | | | | | | bare is true. We need to change this since coffee-rails loads ActionView that loads core_ext/array/access.
* | Remove action cache related testsRafael Mendonça França2012-10-041-42/+0
| |
* | Strip heredoc to not generate the Gemfile with trailing spacesRafael Mendonça França2012-10-041-2/+2
| |
* | Turn turbolinks on by default for new appsDavid Heinemeier Hansson2012-10-043-4/+11
| |
* | Make Rails.public_path return a PathnamePrem Sichanugrist2012-10-023-2/+12
| |