Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Temporarily ship with ContentLength middleware. | José Valim | 2011-05-20 | 1 | -1/+1 | |
| | ||||||
* | Use Rack::ContentLength. | José Valim | 2011-05-19 | 1 | -0/+2 | |
| | ||||||
* | always enable `pp` on the Rails console | Akira Matsuda | 2011-05-18 | 1 | -0/+1 | |
| | ||||||
* | Logs should show overridden method; Issue 426 | David Lee | 2011-05-07 | 1 | -3/+3 | |
| | ||||||
* | Move sandbox to AR and pass the sandbox as a value. This way, other ORMs ↵ | José Valim | 2011-05-04 | 1 | -2/+1 | |
| | | | | like Datamapper can also have their own sandboxing in rails console. | |||||
* | Add static_cache_control as configuration option and set a default for test. ↵ | José Valim | 2011-05-03 | 1 | -1/+1 | |
| | | | | Should improve performance in acceptance tests. | |||||
* | Move app initializers to sprockets railtie. | José Valim | 2011-04-17 | 1 | -9/+0 | |
| | ||||||
* | Make static faster as we don't have to serve multiple paths anymore. | José Valim | 2011-04-15 | 1 | -1/+1 | |
| | ||||||
* | Remove the ability for engines to serve assets from the public directory. | José Valim | 2011-04-15 | 1 | -7/+1 | |
| | ||||||
* | Booya, sprockets now works from Engines. | José Valim | 2011-04-15 | 1 | -32/+8 | |
| | ||||||
* | Move to app/assets in anticipation of image support being added as well. ↵ | David Heinemeier Hansson | 2011-04-13 | 1 | -2/+4 | |
| | | | | Also add vendor/assets to default load path | |||||
* | Index sprockets environment if perform caching is enabled | Joshua Peek | 2011-04-12 | 1 | -0/+1 | |
| | ||||||
* | Fix assets prefix joining | Joshua Peek | 2011-03-30 | 1 | -1/+1 | |
| | ||||||
* | Fix assets prefix joining | Joshua Peek | 2011-03-30 | 1 | -1/+1 | |
| | ||||||
* | Unify sprockets config options | Joshua Peek | 2011-03-30 | 1 | -11/+13 | |
| | ||||||
* | Merge branch 'master' into sprockets | Joshua Peek | 2011-03-30 | 1 | -4/+13 | |
|\ | | | | | | | | | Conflicts: railties/lib/rails/application/configuration.rb | |||||
| * | Add `config.force_ssl` configuration which will load `Rack::SSL` middleware ↵ | Prem Sichanugrist | 2011-03-27 | 1 | -4/+13 | |
| | | | | | | | | | | | | | | | | if set to true This will allow user to be able to force all requests to be under HTTPS protocol. This commit was a request from DHH. Special thanks to Josh Peek as well for making `Rack::SSL`. | |||||
* | | Rename option to config.asset_pipeline | Joshua Peek | 2011-03-29 | 1 | -11/+13 | |
| | | ||||||
* | | Move sprockets initializers back to application | Joshua Peek | 2011-03-29 | 1 | -0/+27 | |
| | | ||||||
* | | Add route for assets | Joshua Peek | 2011-03-28 | 1 | -34/+0 | |
| | | ||||||
* | | Change static root to /public | Joshua Peek | 2011-03-22 | 1 | -1/+1 | |
| | | ||||||
* | | Move app/javascripts and app/stylesheets under app/assets | Joshua Peek | 2011-03-22 | 1 | -6/+6 | |
| | | ||||||
* | | Remove ensure_fresh_assets flag | Joshua Peek | 2011-03-22 | 1 | -1/+0 | |
| | | ||||||
* | | Assign sprockets static root | Joshua Peek | 2011-03-22 | 1 | -0/+1 | |
| | | ||||||
* | | Add sprockets environment to Application | Joshua Peek | 2011-03-21 | 1 | -0/+34 | |
|/ | ||||||
* | Always use ActionDispatch::ShowExceptions middleware [#6462 state:resolved] | Prem Sichanugrist | 2011-02-25 | 1 | -1/+1 | |
| | | | | This will make sure the application will raise `ActionController::RoutingError` in case "X-Cascade: pass" header was set, usually when there's no route match. | |||||
* | Make sure that we set `env["action_dispatch.show_exceptions"]` | Prem Sichanugrist | 2011-02-25 | 1 | -1/+2 | |
| | | | | This has been used by `show_exception` middleware even the setting wasn't get passed to `env` hash. | |||||
* | Application's assets should have higher priority than engine's ones | Piotr Sarnacki | 2011-02-09 | 1 | -1/+4 | |
| | | | | [#6388 state:resolved] | |||||
* | Replace AD::Callbacks.to_prepare with AD::Reloader.to_prepare | John Firebaugh | 2010-12-20 | 1 | -1/+1 | |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | Introduce ActionDispatch::Reloader | John Firebaugh | 2010-12-20 | 1 | -0/+1 | |
| | | | | | | | | | | | | Based on the implementation on the 2-3-stable branch, patches by Hongli Lai <hongli@phusion.nl>, and helpful suggestions from José Valim. Hongli Lai's patches included locking around the request cycle; this is now handled by Rack::Lock (https://github.com/rack/rack/issues/issue/87/). [#2873] Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | Ensure asset_path defaults to nil for application | José Valim | 2010-12-09 | 1 | -0/+4 | |
| | ||||||
* | Remove unused Configurable in Rails::Engine and Rails::Application. Remove ↵ | zhengjia | 2010-11-11 | 1 | -1/+0 | |
| | | | | | | unnecessary railties load path in cli [#5871 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | replace if ! with unless | Neeraj Singh | 2010-10-17 | 1 | -1/+1 | |
| | | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | |||||
* | Makes this code a bit more clear | Santiago Pastorino | 2010-10-08 | 1 | -3/+3 | |
| | ||||||
* | Remove the final initializers since initializers += will return it anyway. ↵ | Ryan Bigg | 2010-10-08 | 1 | -1/+0 | |
| | | | | | | [#3892 state:resolved] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | |||||
* | Provide a cleaner syntax for paths configuration that does not rely on ↵ | José Valim | 2010-10-06 | 1 | -1/+1 | |
| | | | | method_missing. | |||||
* | Move ETag and ConditionalGet logic from AD::Response to the middleware stack. | José Valim | 2010-10-03 | 1 | -1/+3 | |
| | ||||||
* | reload_routes! is part of the public API and should not be removed. | José Valim | 2010-10-02 | 1 | -0/+4 | |
| | ||||||
* | Moved Rails::RoutesReloader to Rails::Application::RoutesReloader | Piotr Sarnacki | 2010-09-30 | 1 | -2/+2 | |
| | ||||||
* | Move routes_reloader to a class: RoutesReloader | Piotr Sarnacki | 2010-09-30 | 1 | -22/+2 | |
| | ||||||
* | Properly reload routes defined in class definition | Piotr Sarnacki | 2010-09-30 | 1 | -5/+16 | |
| | | | | | | | | | | | | | | | | | Sometimes it's easier to define routes inside Engine or Application class definition (e.g. one file applications). The problem with such case is that if there is a plugin that has config/routes.rb file, it will trigger routes reload on application. Since routes definition for application is not in config/routes.rb file routes_reloader will fail to reload application's routes properly. With this commit you can pass routes definition as a block to routes method, which will allow to properly reload it: class MyApp::Application < Rails::Application routes do resources :users end end | |||||
* | Only add Rack::Cache to the middleware stack if ↵ | Sparky | 2010-09-15 | 1 | -2/+4 | |
| | | | | config.action_controller.perform_caching is set. | |||||
* | First pass at Rack::Cache | wycats | 2010-09-13 | 1 | -0/+3 | |
| | ||||||
* | Get rid of static_paths method and instead configure paths for ↵ | Piotr Sarnacki | 2010-09-03 | 1 | -17/+1 | |
| | | | | ActionDispatch::Static in initializers | |||||
* | Engine's assets are now served with ActionDispatch::Static | Piotr Sarnacki | 2010-09-03 | 1 | -1/+17 | |
| | ||||||
* | Added ability to set asset_path for engines | Piotr Sarnacki | 2010-09-03 | 1 | -9/+5 | |
| | ||||||
* | Ensure that Rails.application.initialize! is called only once | Piotr Sarnacki | 2010-09-03 | 1 | -0/+2 | |
| | ||||||
* | New way of generating urls for Application from Engine. | Piotr Sarnacki | 2010-09-03 | 1 | -5/+2 | |
| | | | | | | | | | It's based specifying application's script_name with: Rails.application.default_url_options = {:script_name => "/foo"} default_url_options method is delegated to routes. If router used to generate url differs from the router passed via env it always overwrites :script_name with this value. | |||||
* | Fix url generation for mounted Engine | Piotr Sarnacki | 2010-09-03 | 1 | -2/+8 | |
| | | | | | | | | | I added integration tests for generating urls in Engine and application and tweaked Engines to fully cooparate with new router's behavior: * Rails.application now sets ORIGINAL_SCRIPT_NAME * Rails.application also sets its routes as env['action_dispatch.parent_routes'] * Engine implements responds_to? class method to respond to all the instance methods, like #routes | |||||
* | Pass routes via env['action_dispatch.routes'], it's needed by routes to ↵ | Piotr Sarnacki | 2010-09-03 | 1 | -2/+2 | |
| | | | | determine if it should generate prefix for mounted apps |