Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Initialize @app_env_config now that the var name has changed | Carlos Antonio da Silva | 2013-03-19 | 1 | -1/+1 | |
| | | | | Check 862389c9537dbb6f65fd26c4325e07607ed437b5 for more background. | |||||
* | Use @app_env_config instead of @env_config | José Valim | 2013-03-18 | 1 | -1/+1 | |
| | | | | Check pull request #9789 for more information. | |||||
* | Renumbering the comments in the application boot process. | wangjohn | 2013-03-09 | 1 | -4/+4 | |
| | ||||||
* | Bring config.allow_concurrency back | José Valim | 2013-03-03 | 1 | -18/+40 | |
| | | | | | Since the Rack::Lock still exists in development, let's provide a way to disable it explicitly. | |||||
* | Remove BestStandardsSupport middleware | Guillermo Iguaran | 2013-01-29 | 1 | -4/+0 | |
| | ||||||
* | Adding Back Rails::Engine::Railties#engines | Tim Raymond | 2013-01-03 | 1 | -5/+1 | |
| | | | | | Removing it breaks functionality with gems such as Thinking Sphinx. This restores it with a deprecation warning. Closes #8551 | |||||
* | Improve secret_token deprecation message | Santiago Pastorino | 2012-12-30 | 1 | -3/+4 | |
| | ||||||
* | remove duplication from Rails::Application docs | Hrvoje Šimić | 2012-12-24 | 1 | -2/+0 | |
| | ||||||
* | Move background jobs to the 'jobs' branch until fully baked. Not shipping ↵ | Jeremy Kemper | 2012-12-21 | 1 | -8/+1 | |
| | | | | with Rails 4.0. | |||||
* | Adding filter capability to ActionController logs | Fabrizio Regini | 2012-12-05 | 1 | -0/+2 | |
| | ||||||
* | Add UpgradeSignatureToEncryptionCookieStore | Santiago Pastorino | 2012-11-16 | 1 | -0/+2 | |
| | | | | | | This allows easy upgrading from the old signed Cookie Store <= 3.2 or the deprecated one in 4.0 (the ones that doesn't use key derivation) to the new one that signs using key derivation | |||||
* | Rename secret_token_key to secret_key_base | Santiago Pastorino | 2012-11-03 | 1 | -6/+6 | |
| | ||||||
* | Cache generated keys per KeyGenerator instance using salt + key_size | Santiago Pastorino | 2012-11-03 | 1 | -5/+8 | |
| | ||||||
* | Allow users to change the default salt if they want, shouldn't be necessary | Santiago Pastorino | 2012-11-03 | 1 | -7/+15 | |
| | ||||||
* | Use derived keys everywhere, http_authentication was missing it | Santiago Pastorino | 2012-11-03 | 1 | -2/+3 | |
| | ||||||
* | Warn config.derive_keys will be true by default in 4.1 | Santiago Pastorino | 2012-11-03 | 1 | -9/+17 | |
| | ||||||
* | Sign cookies using key deriver | Santiago Pastorino | 2012-11-03 | 1 | -1/+8 | |
| | ||||||
* | Don't use action_controller.perform_caching to enable rack-rack. | Rafael Mendonça França | 2012-10-18 | 1 | -1/+1 | |
| | | | | | Setting the action_dispatch.rack_cache options to true or a hash should be the way to enable it. | |||||
* | Use Ruby 1.9 Hash syntax in railties | Robin Dupret | 2012-10-14 | 1 | -5/+5 | |
| | ||||||
* | Remove the queue container. Premature consolidation. Set up and maintain ↵ | Jeremy Kemper | 2012-10-12 | 1 | -5/+1 | |
| | | | | queues in the classes that use them instead. | |||||
* | config.action_dispatch.rack_cache should set explicitly to enable Rack::Cache | Guillermo Iguaran | 2012-10-04 | 1 | -0/+9 | |
| | ||||||
* | Merge pull request #6952 from NZKoz/key_generator | Michael Koziarski | 2012-10-02 | 1 | -1/+10 | |
|\ | | | | | Add ActiveSupport::KeyGenerator as a simple wrapper around PBKDF2 | |||||
| * | Provide access to the application's KeyGenerator | Michael Koziarski | 2012-10-01 | 1 | -1/+10 | |
| | | | | | | | | Available both as an env entry for rack and an instance method on Rails::Application for other uses | |||||
* | | Use Rack::Cache middleware only if is in Gemfile | Guillermo Iguaran | 2012-10-01 | 1 | -0/+6 | |
|/ | ||||||
* | Clarify the documentation on the Rails::Application#call method | David Czarnecki | 2012-09-15 | 1 | -2/+2 | |
| | ||||||
* | Move queue classes to ActiveSupport | Santiago Pastorino | 2012-09-14 | 1 | -1/+2 | |
| | ||||||
* | Update the ducumentation about the before_eager_load callback [ci skip] | Rafael Mendonça França | 2012-08-22 | 1 | -1/+1 | |
| | ||||||
* | Get rid of config.preload_frameworks in favor of config.eager_load_namespaces | José Valim | 2012-08-21 | 1 | -7/+0 | |
| | | | | | | | The new option allows any Ruby namespace to be registered and set up for eager load. We are effectively exposing the structure existing in Rails since v3.0 for all developers in order to make their applications thread-safe and CoW friendly. | |||||
* | Remove allow_concurrency as a flag | José Valim | 2012-08-21 | 1 | -2/+2 | |
| | | | | | | | | | | | | | | | | The flag was mainly used to add a Rack::Lock middleware to the stack, but the only scenario the lock is desired is in development. If you are deploying on a not-threaded server, the Rack::Lock does not provide any benefit since you don't have concurrent accesses. On the other hand, if you are on a threaded server, you don't want the lock, since it defeats the purpose of using a threaded server. If there is someone out there, running on a thread server and does want a lock, it can be added to your environment as easy as: `use Rack::Lock` | |||||
* | Allow users to choose when to eager_load the application or not. | José Valim | 2012-08-21 | 1 | -1/+9 | |
| | | | | | | | | | | | | | | | | | Previously, the eager load behavior was mostly coupled to config.cache_classes, however this was suboptimal since in some environments a developer may want to cache classes but not necessarily load them all on boot (for example, test env). This pull request also promotes the use of config.eager_load set to true by default in production. In the majority of the cases, this is the behavior you want since it will copy most of your app into memory on boot (which was also the previous behavior). Finally, this fix a long standing Rails bug where it was impossible to access a model in a rake task when Rails was set as thread safe. | |||||
* | Restoring documentation for env_config per #7070 | Justin Mazzi | 2012-08-01 | 1 | -0/+11 | |
| | ||||||
* | Remove ActionDispatch::Head middleware in favor of Rack::Head | Santiago Pastorino | 2012-07-23 | 1 | -1/+1 | |
| | | | | Closes #7110 there's more work to do on rack-cache issue 69 | |||||
* | adding Rails::Queueing::Container | Aaron Patterson | 2012-07-19 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | This allows us to do: In your configuration: Rails.queue[:image_queue] = SomeQueue.new Rails.queue[:mail_queue] = SomeQueue.new In your app code: Rails.queue[:mail_queue].push MailJob.new Both jobs pushed to the same default queue Rails.queue.push DefaultJob.new Rails.queue[:default].push DefaultJob.new | |||||
* | move route_inspector to actionpack | @schneems and @mattt | 2012-07-07 | 1 | -2/+2 | |
| | | | | this is so we can show route output in the development when we get a routing error. Railties can use features of ActionDispatch, but ActionDispatch should not depend on Railties. | |||||
* | Remove unused responsibilities and add a few load definitions to engines | José Valim | 2012-06-29 | 1 | -67/+63 | |
| | | | | | | | | Since plugins were removed, we can clean up a few methods in engines. We also use this opportunity to move `load_console`, `load_tasks` and `load_runner` to Rails::Engine. This means that, if someone wants to improve script/rails for engines to support console or runner commands, part of the work is already done. | |||||
* | Remove unnecessary Railties structure now that plugins are gone | José Valim | 2012-06-29 | 1 | -59/+68 | |
| | ||||||
* | Add support runner hook. | kennyj | 2012-05-29 | 1 | -0/+11 | |
| | ||||||
* | Fix railties_order when application object is passed | Piotr Sarnacki | 2012-05-27 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | railites_order method, introduced in 40b19e0, had a bug that was causing loading application instance twice in initializers if railties_order already included application instance. So for example railties_order = [Foo::Engine, :main_app, Bar::Engine] would result in such railties array: [MyApp::Application, Foo::Engine, MyAppApplication, Bar::Engine] In order to fix it, we need to check for existence of application in both railties_order and railties arrays. | |||||
* | use File.join to decrease dependencies on Pathname | Aaron Patterson | 2012-05-23 | 1 | -1/+1 | |
| | ||||||
* | initialize instance variables | Aaron Patterson | 2012-05-22 | 1 | -2/+6 | |
| | ||||||
* | Allow configuring a different queue consumer | Carlos Antonio da Silva | 2012-05-04 | 1 | -1/+1 | |
| | | | | | | Also make sure to not use default queue consumer with custom queue implementation. It is up to the new queue implementation to start / shutdown the consumer. | |||||
* | Define only writer method for queue, as reader is declared | Carlos Antonio da Silva | 2012-04-28 | 1 | -1/+2 | |
| | | | | Remove deprecation warning of method redefined. | |||||
* | add a factory method for queue construction so that apps can have multiple ↵ | Aaron Patterson | 2012-04-27 | 1 | -1/+5 | |
| | | | | queues | |||||
* | Initial queue implementation | Yehuda Katz | 2012-04-26 | 1 | -1/+5 | |
| | ||||||
* | Remove not needed requires | Santiago Pastorino | 2012-03-31 | 1 | -1/+0 | |
| | ||||||
* | Rails.initialized? can be called at any time without raising an exception ↵ | Franck Verrot | 2012-03-28 | 1 | -0/+4 | |
| | | | | | | | | | | [Closes #2507] Changes: * `Rails.initialized=` has been removed * `Rails.initialized?` and `Rails.application.initialized?` are now * delegating to `MyApp::Application.initialized?` | |||||
* | Rack::SSL -> ActionDispatch::SSL | Rafael Mendonça França | 2012-03-17 | 1 | -2/+1 | |
| | ||||||
* | Remove remaining http_only? calls. | José Valim | 2012-03-14 | 1 | -4/+4 | |
| | ||||||
* | Change api_only to http_only | Carlos Antonio da Silva | 2012-03-10 | 1 | -4/+4 | |
| | | | | [Carlos Antonio da Silva & Santiago Pastorino] | |||||
* | Add config.middleware.api_only! | Carlos Antonio da Silva and Santiago Pastorino | 2012-03-05 | 1 | -4/+4 | |
| |