Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | asset compilation should not require a database connection | Aaron Patterson | 2012-11-13 | 1 | -0/+26 |
| | |||||
* | Merge pull request #8169 from nicolasdespres/robust_git_repository_check | Rafael Mendonça França | 2012-11-13 | 1 | -0/+29 |
|\ | | | | | Rake test:uncommitted finds git directory in ancestors. | ||||
| * | Rake test:uncommitted finds git directory in ancestors. | Nicolas Despres | 2012-11-10 | 1 | -0/+29 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | Sometimes your git directory is an ancestor of your application root directory. For example: ./repo/.git/ ./repo/app/Rakefile In this case rake test:uncommitted will be unable to detect your SCM. This patch fixes this and add a test. | ||||
* | | Removing warning : ambiguous first argument | Arun Agrawal | 2012-11-11 | 1 | -2/+2 |
|/ | |||||
* | Small change to remove warning unused variable. | Arun Agrawal | 2012-11-01 | 1 | -1/+1 |
| | |||||
* | Fix deprecation message in test for Path#children | Carlos Antonio da Silva | 2012-10-29 | 1 | -1/+1 |
| | |||||
* | Add test to deprecation of Path#children | Rafael Mendonça França | 2012-10-29 | 1 | -0/+6 |
| | |||||
* | Merge pull request #7587 from elia/fix-too-eager-loading | Rafael Mendonça França | 2012-10-29 | 1 | -0/+3 |
| | | | | | | Should not eager_load app/assets Conflicts: railties/CHANGELOG.md | ||||
* | Job consumer logs to Rails.logger by default | Jeremy Kemper | 2012-10-26 | 1 | -0/+1 |
| | |||||
* | Remove warning setting eager_load | Rafael Mendonça França | 2012-10-18 | 1 | -0/+1 |
| | |||||
* | Don't use action_controller.perform_caching to enable rack-rack. | Rafael Mendonça França | 2012-10-18 | 2 | -6/+13 |
| | | | | | Setting the action_dispatch.rack_cache options to true or a hash should be the way to enable it. | ||||
* | Switch to new sprockets-rails plugin | Joshua Peek | 2012-10-15 | 1 | -126/+52 |
| | |||||
* | Merge branch 'master' into asset-path-helper | Joshua Peek | 2012-10-15 | 15 | -120/+120 |
|\ | | | | | | | | | Conflicts: railties/test/application/configuration_test.rb | ||||
| * | Use Ruby 1.9 Hash syntax in railties | Robin Dupret | 2012-10-14 | 13 | -96/+96 |
| | | |||||
| * | Test that a Rails.queue consumer is automatically started in production | Jeremy Kemper | 2012-10-13 | 1 | -1/+11 |
| | | |||||
| * | Backpedal from class-oriented config.queue. Set an actual queue instance. | Jeremy Kemper | 2012-10-12 | 2 | -11/+3 |
| | | |||||
| * | Tighten up asset precompile tests | Jeremy Kemper | 2012-10-12 | 2 | -4/+3 |
| | | |||||
| * | Remove the queue container. Premature consolidation. Set up and maintain ↵ | Jeremy Kemper | 2012-10-12 | 2 | -9/+8 |
| | | | | | | | | queues in the classes that use them instead. | ||||
* | | Remove old asset_path from rails config | Joshua Peek | 2012-10-15 | 1 | -20/+0 |
|/ | |||||
* | ActiveSupport::SynchronousQueue doesn't have the drain method. | Rafael Mendonça França | 2012-10-12 | 1 | -4/+4 |
| | | | | | Now we are using teh SynchronousQueue in the test environment instead of the TestQueue | ||||
* | Move the TestQueue tests to the proper file | Rafael Mendonça França | 2012-10-12 | 1 | -47/+0 |
| | |||||
* | Add .rake to `rake notes` and `rake notes:custom` | Brent J. Nordquist | 2012-10-12 | 1 | -1/+3 |
| | |||||
* | Immediately run queued jobs in tests. Otherwise you have to explicitly drain ↵ | Jeremy Kemper | 2012-10-12 | 1 | -3/+3 |
| | | | | the queue to actually deliver your emails. | ||||
* | Update test locations | Mike Moore | 2012-10-09 | 1 | -6/+6 |
| | | | | | | | | | | | | | | 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) | ||||
* | Remove duplicated test | Guillermo Iguaran | 2012-10-09 | 1 | -15/+0 |
| | |||||
* | Minor test refactoring: Use add_to_env instead of an initializer | Guillermo Iguaran | 2012-10-09 | 1 | -1/+1 |
| | |||||
* | Fix middleware cache tests enabling rack_cache | Guillermo Iguaran | 2012-10-05 | 1 | -0/+2 |
| | |||||
* | config.action_dispatch.rack_cache should set explicitly to enable Rack::Cache | Guillermo Iguaran | 2012-10-04 | 1 | -1/+10 |
| | |||||
* | Use String#exclude? to make sure that Active Support is not loaded when | Rafael Mendonça França | 2012-10-04 | 1 | -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 tests | Rafael Mendonça França | 2012-10-04 | 1 | -42/+0 |
| | |||||
* | Make Rails.public_path return a Pathname | Prem Sichanugrist | 2012-10-02 | 1 | -1/+9 |
| | |||||
* | Provide access to the application's KeyGenerator | Michael Koziarski | 2012-10-01 | 1 | -0/+1 |
| | | | | Available both as an env entry for rack and an instance method on Rails::Application for other uses | ||||
* | Assets cache shouldn't be shared between different environments | Guillermo Iguaran | 2012-09-28 | 1 | -1/+2 |
| | |||||
* | Tune up Rails::Rack::Logger. Only put space between requests in development ↵ | Jeremy Kemper | 2012-09-26 | 1 | -7/+7 |
| | | | | logs. | ||||
* | Update asset test to match one in sprockets-rails | Guillermo Iguaran | 2012-09-21 | 1 | -2/+5 |
| | |||||
* | Use last version of sprockets-rails and syncing tests for assets. | Dmitry Vorotilin | 2012-09-19 | 1 | -32/+35 |
| | |||||
* | In development and test we drain the jobs in the same thread. | Rafael Mendonça França | 2012-09-18 | 1 | -4/+4 |
| | |||||
* | Merge pull request #7251 from rails/integrate-strong_parameters | David Heinemeier Hansson | 2012-09-18 | 2 | -14/+22 |
|\ | | | | | Integrate strong_parameters in Rails 4 | ||||
| * | Add config.action_controller.permit_all_attributes to bypass ↵ | Guillermo Iguaran | 2012-09-16 | 1 | -0/+22 |
| | | | | | | | | StrongParameters protection | ||||
| * | Remove configuration test for config.activerecord.whitelist_attributes | Guillermo Iguaran | 2012-09-16 | 1 | -13/+0 |
| | | |||||
| * | Remove all references to attr_accessible/protected and old ↵ | Guillermo Iguaran | 2012-09-16 | 1 | -1/+0 |
| | | | | | | | | mass_assignment_sanitizers | ||||
* | | Date.beginning_of_week thread local and beginning_of_week application config ↵ | gregolsen | 2012-09-18 | 1 | -0/+22 |
|/ | | | | option added (default is Monday) | ||||
* | Fix syntax error in assert_match | Rafael Mendonça França | 2012-09-15 | 1 | -6/+6 |
| | |||||
* | Few more warnings removed. | Arun Agrawal | 2012-09-15 | 1 | -3/+3 |
| | | | | | | | I found them when I was running warning mode on with railties See https://github.com/rails/rails/pull/3782 | ||||
* | Move queue classes to ActiveSupport | Santiago Pastorino | 2012-09-14 | 2 | -11/+11 |
| | |||||
* | Merge pull request #7616 from lest/null-session-forgery-protection | Michael Koziarski | 2012-09-13 | 1 | -0/+82 |
|\ | | | | | Implement :null_session CSRF protection method | ||||
| * | Implement :null_session CSRF protection method | Sergey Nartimov | 2012-09-13 | 1 | -0/+82 |
| | | | | | | | | | | | | | | | | It's further work on CSRF after 245941101b1ea00a9b1af613c20b0ee994a43946. The :null_session CSRF protection method provide an empty session during request processing but doesn't reset it completely (as :reset_session does). | ||||
* | | Allow users to configure the queue for the mailers | Rafael Mendonça França | 2012-09-12 | 1 | -0/+17 |
| | | | | | | | | | | | | | | | | | | | | | | | | This allow the users to do: config.action_mailer.queue = MyQueue.new and class UsersMailer < ActionMailer::Base self.queue = MyQueue.new end | ||||
* | | Use the SynchronousQueue as default in production and development. | Rafael Mendonça França | 2012-09-12 | 1 | -5/+6 |
| | | | | | | | | | | We should not let the users use the ThreadedConsumer without know about the risks | ||||
* | | fixed support for DATABASE_URL for rake db tasks | Grace Liu | 2012-09-11 | 2 | -0/+213 |
|/ | | | | | | | | | | | | - added tests to confirm establish_connection uses DATABASE_URL and Rails.env correctly even when no arguments are passed in. - updated rake db tasks to support DATABASE_URL, and added tests to confirm correct behavior for these rake tasks. (Removed establish_connection call from some tasks since in those cases the :environment task already made sure the function would be called) - updated Resolver so that when it resolves the database url, it removes hash values with empty strings from the config spec (e.g. to support connection to postgresql when no username is specified). |