Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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. | ||||
* | No need to test for rack-cache present in Gemfile | Arun Agrawal | 2012-10-11 | 1 | -5/+0 |
| | | | | | | as it's removed here 1fc795468525d8622cdca474a54c8310a514aa46 | ||||
* | warning fixed: ambiguous first argument; put parentheses or even spaces | Arun Agrawal | 2012-10-10 | 1 | -7/+7 |
| | |||||
* | Update test locations | Mike Moore | 2012-10-09 | 11 | -65/+67 |
| | | | | | | | | | | | | | | 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 |
| | |||||
* | Merge pull request #6952 from NZKoz/key_generator | Michael Koziarski | 2012-10-02 | 1 | -0/+1 |
|\ | | | | | Add ActiveSupport::KeyGenerator as a simple wrapper around PBKDF2 | ||||
| * | 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 | ||||
* | | Merge pull request #7794 from guilleiguaran/extract-rack-cache | Santiago Pastorino | 2012-10-01 | 1 | -0/+5 |
|\ \ | | | | | | | Use Rack::Cache middleware only if is in Gemfile | ||||
| * | | Add rack-cache to default Gemfile | Guillermo Iguaran | 2012-10-01 | 1 | -0/+5 |
| |/ | |||||
* | | Fix broken scaffold routes test | Jeremy Walker | 2012-10-01 | 1 | -1/+1 |
| | | |||||
* | | Fixed generated whitespace in routes when using namespaced resource. | Jeremy Walker | 2012-09-29 | 1 | -2/+74 |
|/ | |||||
* | 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 test to match new non-sorting of attributes. | Brian Morearty | 2012-09-23 | 1 | -1/+1 |
| | |||||
* | Update asset test to match one in sprockets-rails | Guillermo Iguaran | 2012-09-21 | 1 | -2/+5 |
| | |||||
* | Remove .rb from require sentences | José Corcuera Z | 2012-09-21 | 2 | -2/+2 |
| | |||||
* | 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 | 7 | -48/+31 |
|\ | | | | | 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 | ||||
| * | config.activerecord.whitelist_attributes isn't used anymore, remove ↵ | Guillermo Iguaran | 2012-09-16 | 1 | -3/+0 |
| | | | | | | | | reference from abstract_unit | ||||
| * | Remove configuration test for config.activerecord.whitelist_attributes | Guillermo Iguaran | 2012-09-16 | 1 | -13/+0 |
| | | |||||
| * | Remove attributes whitelist tests from AppGenerator tests | Guillermo Iguaran | 2012-09-16 | 1 | -6/+0 |
| | | |||||
| * | Change scaffold_controller to generate and use private method to encapsulate ↵ | Guillermo Iguaran | 2012-09-16 | 2 | -6/+9 |
| | | | | | | | | permissible params | ||||
| * | Remove all references to attr_accessible/protected and old ↵ | Guillermo Iguaran | 2012-09-16 | 3 | -20/+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 | 5 | -243/+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). | ||||
* | | change app/plugin generators to be more SCM agnostic | Derek Prior | 2012-09-12 | 2 | -4/+16 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Users of other SCM's can now generate rails apps that will add the "empty" directories to source control, but will not have a useless .gitignore or mis-named .gitkeep files. * Change `rails new` and `rails plugin new` generators to name the `.gitkeep` as `.keep` in a more SCM-agnostic way. * Change `--skip-git` option to only skip the `.gitignore` file and still generate the `.keep` files. * Add `--skip-keeps` option to skip the `.keep` files. It closes #2800. | ||||
* | | 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). | ||||
* | Rake assets:precompile shouldn't fail quietly. | Dmitry Vorotilin | 2012-09-11 | 1 | -7/+4 |
| | | | | We should show to user original issue if rake task will be aborted. | ||||
* | ' dates back to SGML when ' was introduced in HTML 4.0 | Kalys Osmonov | 2012-09-09 | 1 | -2/+2 |
| | |||||
* | add mini-validator on creating migration | Jan Bernacki | 2012-09-06 | 1 | -0/+7 |
| | | | | move validation to AR | ||||
* | Don't use Gemfile in test application in railties | Piotr Sarnacki | 2012-08-31 | 1 | -5/+5 |
| | | | | | | | | | | | | | Option to run `bundle install` after generating new appplication was added recently to rails. Since introduction, it contained a subtle bug that caused it to use `Gemfile` from current directory (if it exists) rather than from generated directory. This also accidentaly caused railties tests to work without any problems - after generating test app it just used `Gemfile` from the repository, rather than the one in generated app. After fixing the bug mentioned above, this of course broke. The easiest way to bypass that is to not generate a `Gemfile` for test application - with such setup Bundler will just use first available `Gemfile` in one of the parent directories. | ||||
* | Revert "Revert changes related to `bundle install` fixes in `rails new`" | Piotr Sarnacki | 2012-08-31 | 1 | -2/+7 |
| | | | | | | | | The cause of the previous revert was bug in bundler that made it hard to make railties test work. Fix for bundler was recently pushed to github, so now we can safely get back to the original commit. This reverts commit 0f5cc34ab58cda99d1401ecc82e1ebb873838dd7. | ||||
* | Remove unused require. | kennyj | 2012-08-29 | 2 | -3/+0 |
| |