Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | dryed up resources; fixed small formatting issue in resources rdoc | James Rosen | 2008-08-08 | 1 | -25/+25 |
| | | | | Signed-off-by: Michael Koziarski <michael@koziarski.com> | ||||
* | Be more careful about deducing action_methods | Jeremy Kemper | 2008-08-06 | 1 | -6/+10 |
| | |||||
* | Strip newlines from cookie session data | Jeremy Kemper | 2008-08-05 | 1 | -1/+1 |
| | |||||
* | Ensure public superclass methods don't shadow public controller methods. ↵ | Jeremy Kemper | 2008-08-05 | 1 | -3/+3 |
| | | | | Case in point, ruby-debug's Kernel#start shadowing a controller's start action. | ||||
* | Make assert_template failure message more friendly | Jeffrey Hardy | 2008-08-05 | 1 | -2/+2 |
| | | | | Signed-off-by: Joshua Peek <josh@joshpeek.com> | ||||
* | Expose Routing::Segment::SAFE_PCHAR list of path characters that don't need ↵ | Jeremy Kemper | 2008-08-04 | 1 | -1/+2 |
| | | | | escaping | ||||
* | List available actions in UnknownAction exception message | Jeremy Kemper | 2008-07-31 | 1 | -1/+1 |
| | |||||
* | Use "/usr/bin/env ruby" instead of "/usr/local/bin/ruby" | Tarmo Tänav | 2008-07-31 | 1 | -7/+7 |
| | | | | Signed-off-by: Joshua Peek <josh@joshpeek.com> | ||||
* | Fix file permissions | Tarmo Tänav | 2008-07-31 | 5 | -0/+0 |
| | | | | Signed-off-by: Joshua Peek <josh@joshpeek.com> | ||||
* | Prototype helpers should generate Element.insert instead of Insertion.new, ↵ | miloops | 2008-07-30 | 1 | -10/+16 |
| | | | | which has been deprecated in Prototype 1.6. | ||||
* | Remove send! usage, relic of reverted 1.9 behavior | Jeremy Kemper | 2008-07-28 | 1 | -1/+1 |
| | |||||
* | Added back ActionController::Base.allow_concurrency flag and moved lock down ↵ | Joshua Peek | 2008-07-28 | 2 | -12/+21 |
| | | | | to controller processing. | ||||
* | Prepare Route#generate and Route#recognize early. Also refactor segments a ↵ | Joshua Peek | 2008-07-28 | 6 | -200/+202 |
| | | | | bit to try to make immutable. | ||||
* | Routing whitespace cleanup | Joshua Peek | 2008-07-28 | 8 | -78/+73 |
| | |||||
* | Merge docrails changes | Pratik Naik | 2008-07-28 | 5 | -31/+203 |
| | |||||
* | ActionController::Base.relative_url_root falls back to ↵ | Joshua Peek | 2008-07-24 | 1 | -1/+6 |
| | | | | ENV['RAILS_RELATIVE_URL_ROOT'] | ||||
* | AbstractRequest.relative_url_root is no longer automatically configured by a ↵ | Joshua Peek | 2008-07-24 | 4 | -31/+22 |
| | | | | HTTP header. It can now be set in your configuration environment with config.action_controller.relative_url_root | ||||
* | Memoize ActionView::Base pick_template and find_partial_path for rendering ↵ | Joshua Peek | 2008-07-22 | 1 | -0/+2 |
| | | | | duration | ||||
* | Raise ArgumentError if an invalid method is specified as part of a route's ↵ | Tom Ward | 2008-07-18 | 2 | -4/+20 |
| | | | | | | conditions. Also raise an error if HEAD is specified as the method, as rails routes all HEAD requests through the equivalent GET, though doesn't return the response body [#182 state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com> | ||||
* | etag! and last_modified! conditional GET helpers | Jeremy Kemper | 2008-07-17 | 2 | -8/+47 |
| | |||||
* | All 2xx requests are considered successful [#217 state:resolved] | Joshua Peek | 2008-07-16 | 1 | -1/+1 |
| | |||||
* | Use fully-qualified controller name when logging. [#600 state:resolved] | Ripta Pasay | 2008-07-17 | 1 | -1/+1 |
| | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | Allow Dispatcher exceptions to be handled in application.rb using rescue_from | Pratik Naik | 2008-07-16 | 1 | -12/+16 |
| | |||||
* | Merge with docrails. | Pratik Naik | 2008-07-16 | 12 | -22/+64 |
| | |||||
* | Make RackRequest#request_method respect _method | Pratik Naik | 2008-07-16 | 1 | -4/+0 |
| | |||||
* | RackResponse should not contain Status header | Pratik Naik | 2008-07-16 | 1 | -1/+1 |
| | |||||
* | RackRequest#content_type should return Mime::Type | Pratik Naik | 2008-07-16 | 1 | -1/+1 |
| | |||||
* | Get buffer for fragment cache from template's @output_buffer | Joshua Peek | 2008-07-15 | 1 | -3/+1 |
| | |||||
* | Restore the more readable before_ and after_filters methods since they ↵ | Jeremy Kemper | 2008-07-14 | 1 | -10/+2 |
| | | | | aren't called frequently | ||||
* | Small tweak to e0fef66 | Joshua Peek | 2008-07-13 | 1 | -3/+3 |
| | |||||
* | Made ActionView::Base#first_render a little more private. And added ↵ | Joshua Peek | 2008-07-13 | 2 | -13/+6 |
| | | | | _last_render to track the most recent render. Will fix #609 as a side effect. [#609 state:resolved] | ||||
* | Set config.action_view.warn_cache_misses = true to receive a warning if you ↵ | Joshua Peek | 2008-07-12 | 1 | -2/+2 |
| | | | | perform an action that results in an expensive disk operation that could be cached | ||||
* | Refactor template preloading. New abstractions include Renderable mixins and ↵ | Joshua Peek | 2008-07-12 | 4 | -14/+9 |
| | | | | a refactored Template class. | ||||
* | Restore support for partial matches in assert_redirected_to | Michael Koziarski | 2008-07-12 | 1 | -2/+9 |
| | | | | If both the actual redirection and the asserted redirection are hashes, succeed if the asserted redirection is a strict subset of the actual redirection. | ||||
* | 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> |