Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Added notes to Routing documentation and routes.rb regarding defaults routes ↵ | Clemens Kofler | 2008-07-10 | 1 | -0/+4 | |
| | | | | | | opening the whole application for GET requests Signed-off-by: Michael Koziarski <michael@koziarski.com> | |||||
* | Move accept header parsing shortcut to Mime::Type.parse | Jeremy Kemper | 2008-07-09 | 2 | -41/+43 | |
| | ||||||
* | Don't repeatedly convert only/except options | Jeremy Kemper | 2008-07-09 | 1 | -3/+28 | |
| | ||||||
* | Remove some Symbol#to_proc usage in runtime code. [#484 state:resolved] | Cheah Chu Yeow | 2008-07-09 | 2 | -10/+18 | |
| | ||||||
* | Request#accepts special-cases a single mime type | Jeremy Kemper | 2008-07-09 | 1 | -4/+10 | |
| | ||||||
* | Reenable the use of the Accept header to give people a chance to update ↵ | Michael Koziarski | 2008-07-09 | 1 | -3/+3 | |
| | | | | their applications and provide feedback. | |||||
* | Ensure url_for(nil) falls back to url_for({}). [#472 state:resolved] | Cheah Chu Yeow | 2008-07-09 | 1 | -1/+2 | |
| | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | |||||
* | Disable the Accept header by default | Michael Koziarski | 2008-07-07 | 4 | -14/+41 | |
| | | | | | | | | The accept header is poorly implemented by browsers and causes strange errors when used on public sites where crawlers make requests too. You should use formatted urls (e.g. /people/1.xml) to support API clients. Alternatively to re-enable it you need to set: config.action_controller.use_accept_header = true A special case remains for ajax requests which will have a javascript format for the base resource (/people/1) if the X-Requested-With header is present. This lets ajax pages still use format.js despite there being no params[:format] | |||||
* | Fix rdoc for Filters::ClassMethods | Jeremy Kemper | 2008-07-04 | 1 | -195/+194 | |
| | ||||||
* | Simplify the implementation of assert_redirected_to to normalise the urls ↵ | Michael Koziarski | 2008-07-04 | 2 | -91/+37 | |
| | | | | | | before comparing. Also allows for a simpler implementation of redirect_to without most of the recursion. Also allows for assert_redirected_to @some_record | |||||
* | Remove old broken follow_redirect from functional tests. Still works in ↵ | Michael Koziarski | 2008-07-04 | 1 | -9/+0 | |
| | | | | | | integration tests. The follow_redirect in functional tests only worked if you used redirect_to :id=>foo, :action=>bar, rather than named routes. | |||||
* | Allow caches_action to accept cache store options. [#416 state:resolved] | josevalim | 2008-07-04 | 1 | -7/+11 | |
| | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | |||||
* | Reduce the number of callsites for new TemplateFiles | Joshua Peek | 2008-07-03 | 1 | -2/+3 | |
| | ||||||
* | Move template_format logic out to the request so it's alongside the ↵ | Michael Koziarski | 2008-07-03 | 1 | -0/+13 | |
| | | | | | | 'regular' request format. Use xhr? instead of the expensive trip through Request#accepts. | |||||
* | Remove unneeded ObjectWrapper class. | Michael Koziarski | 2008-07-03 | 1 | -1/+1 | |
| | | | | Was previously needed to work around the semantics of a deprecated (now removed) API to render :partial | |||||
* | Use :namespace instead of :path_prefix for finding controller. [#544 ↵ | Tarmo Tänav | 2008-07-03 | 1 | -2/+1 | |
| | | | | | | | | | | state:resolved] :namespace is supposed to be the module where controller exists. :path_prefix can contain anything, including variables, which makes it unsuitable for determining the module for a controller. Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | |||||
* | Deprecate :use_full_path render option. The supplying the option no longer ↵ | Joshua Peek | 2008-07-02 | 1 | -5/+5 | |
| | | | | has an effect. | |||||
* | Added application/jsonrequest as a synonym for application/json | Mike Subelsky | 2008-07-02 | 1 | -1/+2 | |
| | | | | [#536 state:resolved] | |||||
* | Add :as option to render a collection of partials with a custom local ↵ | Pratik Naik | 2008-07-02 | 1 | -1/+4 | |
| | | | | variable name. [#509 state:resolved] [Simon Jefford, Pratik Naik] | |||||
* | Make sure render :template works with :locals. [#524 state:resolved] | Tim Haines | 2008-07-02 | 1 | -1/+4 | |
| | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | |||||
* | Improved test coverage and added RackRequest support for CGI environment ↵ | Joshua Peek | 2008-07-01 | 1 | -5/+30 | |
| | | | | variables. | |||||
* | Hide InlineTemplate class from ActionController and use ActionView's render API | Joshua Peek | 2008-06-25 | 1 | -2/+1 | |
| | ||||||
* | Made ActionView::Base#render_file private | Joshua Peek | 2008-06-25 | 5 | -7/+7 | |
| | ||||||
* | Patched HTML::Document#initialize call to Node.parse so that it includes the ↵ | Jimmy Baker | 2008-06-24 | 1 | -1/+1 | |
| | | | | strict argument. [#330] | |||||
* | Improve readability | Jeremy Kemper | 2008-06-24 | 1 | -8/+10 | |
| | ||||||
* | Fixed polymorphic_url to be able to handle singleton resources. | Tammer Saleh | 2008-06-22 | 1 | -12/+25 | |
| | | | | | | | Example usage: polymorphic_url([:admin, @user, :blog, @post]) # => admin_user_blog_post_url(@user, @post) [#461 state:resolved] | |||||
* | fix merge | rick | 2008-06-19 | 10 | -48/+71 | |
|\ | ||||||
| * | Replaced TemplateFinder abstraction with ViewLoadPaths | Joshua Peek | 2008-06-17 | 3 | -16/+12 | |
| | | ||||||
| * | Fix url_for with no arguments when default_url_options is not explicitly ↵ | Luke Redpath | 2008-06-17 | 1 | -2/+2 | |
| | | | | | | | | | | | | defined. [#339 state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | |||||
| * | verify :redirect_to => :back should redirect to the referrer. [#280 ↵ | Amos King | 2008-06-17 | 1 | -1/+1 | |
| | | | | | | | | | | | | state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | |||||
| * | Correct code example in dom_id docs. [#437 state:resolved] | Andrew Kaspick | 2008-06-17 | 1 | -2/+2 | |
| | | ||||||
| * | Performance: integration test benchmarking and profiling. [Jeremy Kemper] | Jeremy Kemper | 2008-06-14 | 2 | -4/+21 | |
| | | ||||||
| * | Make rescue template xhtml compatible [Sam Ruby] [#415 status:resolved] | Pratik Naik | 2008-06-13 | 1 | -1/+1 | |
| | | ||||||
| * | Revert "Lazy load cache and session stores" | David Heinemeier Hansson | 2008-06-12 | 1 | -2/+7 | |
| | | | | | | | | This reverts commit 19895f087c338d8385dff9d272d30fb87cb10330. | |||||
| * | Improve ActionCaching's format-handling | Jonathan del Strother | 2008-06-11 | 1 | -12/+29 | |
| | | | | | | | | | | | | | | | | Make ActionCaching more aware of different mimetype formats. It will now use request.format to look up the cache type, in addition to the path extension. When expiring caches, the request format no longer affects which cache is expired. Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | |||||
| * | Make sure cache_template_loading works and don't use to_prepare callback | Pratik Naik | 2008-06-11 | 1 | -4/+1 | |
| | | ||||||
| * | Ensure view path cache is rebuilt in production mode which was broke by df44df9. | Joshua Peek | 2008-06-10 | 1 | -4/+4 | |
| | | ||||||
| * | Lazy load cache and session stores | Pratik Naik | 2008-06-10 | 1 | -7/+2 | |
| | | ||||||
| * | Ensure ActionView::TemplateFinder view cache is rebuilt on initialize. | Joshua Peek | 2008-06-08 | 1 | -1/+4 | |
| | | ||||||
| * | Drop ActionController::Base.allow_concurrency flag | Joshua Peek | 2008-06-08 | 1 | -7/+0 | |
|/ | ||||||
* | Ensure we have an array to collect | Jeremy Kemper | 2008-06-06 | 1 | -1/+1 | |
| | ||||||
* | Don't use deprecated String#each | Jeremy Kemper | 2008-06-06 | 1 | -0/+2 | |
| | ||||||
* | Move Class::ModelName to Active Support module core_ext | Jeremy Kemper | 2008-06-06 | 1 | -18/+2 | |
| | ||||||
* | Cache RecordIdentifier methods in Class#model_name wrapper | Jeremy Kemper | 2008-06-06 | 1 | -11/+34 | |
| | ||||||
* | Use CGI::Cookie::parse for request cookies until we officially deprecated CGI. | Joshua Peek | 2008-06-04 | 1 | -38/+4 | |
| | ||||||
* | Merge branch 'master' of git@github.com:rails/rails | David Heinemeier Hansson | 2008-06-03 | 1 | -1/+1 | |
|\ | ||||||
| * | Fix assert_redirected_to for nested controllers and named routes | Gabe da Silveira | 2008-06-04 | 1 | -1/+1 | |
| | | | | | | | | | | | | [#308 state:resolved] Signed-off-by: Michael Koziarski <michael@koziarski.com> | |||||
* | | Fixed Request#remote_ip to only raise hell if the HTTP_CLIENT_IP and ↵ | David Heinemeier Hansson | 2008-06-03 | 1 | -4/+5 | |
|/ | | | | HTTP_X_FORWARDED_FOR doesnt match (not just if theyre both present) [Mark Imbriaco, Bradford Folkens] | |||||
* | Allow caches_action to accept a layout option [#198 state:resolved] | josevalim | 2008-06-03 | 1 | -3/+17 | |
| | | | | Signed-off-by: Joshua Peek <josh@joshpeek.com> | |||||
* | Namespace Inflector, Dependencies, OrderedOptions, and TimeZone under ↵ | Joshua Peek | 2008-06-03 | 2 | -2/+2 | |
| | | | | ActiveSupport [#238 state:resolved] |