Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | Document the controller method for AD's Mapper | Ryan Bigg | 2010-11-07 | 1 | -0/+6 | |
| | | ||||||
| * | Document the defaults method | Ryan Bigg | 2010-11-07 | 1 | -0/+5 | |
| | | ||||||
| * | Document the :module and :path options for the scope method. | Ryan Bigg | 2010-11-07 | 1 | -4/+13 | |
| | | ||||||
| * | Separate comments and examples with "Examples" header. | Ryan Bigg | 2010-11-07 | 1 | -0/+2 | |
| | | ||||||
| * | Fix where the documentation says "photos", but the example shows "posts" or ↵ | Ryan Bigg | 2010-11-07 | 1 | -4/+4 | |
| | | | | | | | | "comments" by switching both to simply "posts" | |||||
| * | Add further documentation + examples for the get, post, put and delete ↵ | Ryan Bigg | 2010-11-07 | 1 | -1/+21 | |
| | | | | | | | | methods in ActionDispatch::Routing::Mapper::HttpHelpers | |||||
* | | Strip regexp anchors from rake routes output [#5934 state:resolved] | Andrew White | 2010-11-09 | 1 | -1/+2 | |
| | | ||||||
* | | Add additional HTTP request methods from the following RFCs: | Andrew White | 2010-11-02 | 1 | -2/+3 | |
|/ | | | | | | | | | | | | | | | | | | | | | | | | | * Hypertext Transfer Protocol -- HTTP/1.1 http://www.ietf.org/rfc/rfc2616.txt) * HTTP Extensions for Distributed Authoring -- WEBDAV http://www.ietf.org/rfc/rfc2518.txt * Versioning Extensions to WebDAV http://www.ietf.org/rfc/rfc3253.txt * Ordered Collections Protocol (WebDAV) http://www.ietf.org/rfc/rfc3648.txt * Web Distributed Authoring and Versioning (WebDAV) Access Control Protocol http://www.ietf.org/rfc/rfc3744.txt * Web Distributed Authoring and Versioning (WebDAV) SEARCH http://www.ietf.org/rfc/rfc5323.txt * PATCH Method for HTTP http://www.ietf.org/rfc/rfc5789.txt [#2809 state:resolved] [#5895 state:resolved] | |||||
* | Refactor resource action scope methods | Andrew White | 2010-10-08 | 1 | -38/+20 | |
| | ||||||
* | avoid method call to compact | Aaron Patterson | 2010-10-04 | 1 | -4/+4 | |
| | ||||||
* | Properly reload routes defined in class definition | Piotr Sarnacki | 2010-09-30 | 1 | -0/+1 | |
| | | | | | | | | | | | | | | | | | 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 | |||||
* | Allow mounting engines at '/' | Piotr Sarnacki | 2010-09-30 | 1 | -1/+1 | |
| | | | | | Without that commit script_name always become '/', which results in paths like //posts/1 instead of /posts/1 | |||||
* | Use .find here as it is simpler and faster. | José Valim | 2010-09-30 | 1 | -1/+1 | |
| | ||||||
* | avoid creating a block if possible | Aaron Patterson | 2010-09-29 | 1 | -2/+2 | |
| | ||||||
* | fixing regexp warnings | Aaron Patterson | 2010-09-29 | 1 | -1/+1 | |
| | ||||||
* | Don't try to interpolate string if there's no interpolation point at all. | Emilio Tagua | 2010-09-29 | 1 | -1/+1 | |
| | ||||||
* | Ensure that named routes do not overwrite previously defined routes. | José Valim | 2010-09-29 | 1 | -10/+13 | |
| | ||||||
* | Avoid (@_var ||= nil) pattern by using initialize methods and ensuring ↵ | José Valim | 2010-09-29 | 1 | -1/+5 | |
| | | | | everyone calls super as expected. | |||||
* | Merge remote branch 'miloops/warnings' | José Valim | 2010-09-29 | 2 | -1/+2 | |
|\ | ||||||
| * | Use redefine_method instead define_method, it may be already defined. | Emilio Tagua | 2010-09-28 | 1 | -1/+1 | |
| | | ||||||
| * | Remove more warnings on variables. | Emilio Tagua | 2010-09-28 | 1 | -0/+1 | |
| | | ||||||
| * | Move uri parser to AS as URI.parser method to reuse it in AP and ARes. | Emilio Tagua | 2010-09-27 | 1 | -8/+2 | |
| | | ||||||
* | | Move uri parser to AS as URI.parser method to reuse it in AP and ARes. | Emilio Tagua | 2010-09-28 | 1 | -8/+2 | |
| | | ||||||
* | | Fix tests on 1.9.2. | José Valim | 2010-09-28 | 1 | -5/+0 | |
| | | ||||||
* | | Properly initialize variables inside the initialize method. | José Valim | 2010-09-27 | 1 | -3/+8 | |
|/ | ||||||
* | Define @_routes inside method, makes more sense and will be initialized when ↵ | Emilio Tagua | 2010-09-27 | 2 | -2/+1 | |
| | | | | | | called anywhere. Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | |||||
* | Remove warning "URI.unescape is obsolete" from actionpack. | Emilio Tagua | 2010-09-27 | 1 | -4/+2 | |
| | | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | |||||
* | Merge remote branch 'miloops/warnings' | José Valim | 2010-09-27 | 3 | -12/+24 | |
|\ | | | | | | | | | Conflicts: actionpack/lib/action_controller/metal/url_for.rb | |||||
| * | Initialize @_routes if it doesn't exists. | Emilio Tagua | 2010-09-27 | 1 | -0/+1 | |
| | | ||||||
| * | Remove warning "too many arguments for format string" when interpolating ↵ | Emilio Tagua | 2010-09-27 | 1 | -1/+1 | |
| | | | | | | | | with empty hash. | |||||
| * | Initialize @as before plural method is called. | Emilio Tagua | 2010-09-27 | 1 | -0/+1 | |
| | | ||||||
| * | Remove old method before redefining it. | Emilio Tagua | 2010-09-27 | 1 | -0/+2 | |
| | | ||||||
| * | Remove warning "URI.unescape is obsolete" from actionpack. | Emilio Tagua | 2010-09-27 | 2 | -11/+19 | |
| | | ||||||
* | | Convert unless/else into if/else. | thedarkone | 2010-09-27 | 1 | -4/+4 | |
| | | ||||||
* | | Hash#empty? is faster than Enumerable#any? when used on a Hash. | thedarkone | 2010-09-27 | 1 | -1/+1 | |
| | | ||||||
* | | options[:action] is very likely to be nil. | thedarkone | 2010-09-27 | 1 | -1/+1 | |
| | | ||||||
* | | No need to create a separate lambda for each call. | thedarkone | 2010-09-27 | 1 | -15/+14 | |
|/ | ||||||
* | Refactor routing methods. | Emilio Tagua | 2010-09-22 | 2 | -11/+2 | |
| | | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | |||||
* | Raise ArgumentError instead of normalizing controller name when there is a ↵ | Andrew White | 2010-09-18 | 1 | -1/+5 | |
| | | | | leading slash [#5651 state:resolved] | |||||
* | Remove leading slash from controller [#5651 state:resolved] | Andrew White | 2010-09-18 | 1 | -1/+1 | |
| | ||||||
* | Add RouteSet#append | Carl Lerche | 2010-09-17 | 1 | -4/+12 | |
| | | | Allows specifying blocks to the routeset that will get appended after the RouteSet is drawn. | |||||
* | Change app to main_app in mounted_helpers | Piotr Sarnacki | 2010-09-08 | 1 | -1/+1 | |
| | ||||||
* | Do not require passing :app to mounted helpers, it's actually useless and ↵ | Piotr Sarnacki | 2010-09-08 | 1 | -1/+1 | |
| | | | | not DRY | |||||
* | Remove a few tests from old router that do not make sense with the new one. | José Valim | 2010-09-05 | 1 | -21/+3 | |
| | ||||||
* | Removed deprecated_mapper - we don't need it anymore | Łukasz Strzałkowski | 2010-09-05 | 1 | -525/+0 | |
| | ||||||
* | Ported missing functionality from Rails 2.3.x, raise error on wrong regexps ↵ | Piotr Sarnacki | 2010-09-05 | 1 | -0/+9 | |
| | | | | in :constraints in routes | |||||
* | raise error on invalid HTTP methods or :head passed with :via in routes | Piotr Sarnacki | 2010-09-05 | 1 | -0/+9 | |
| | ||||||
* | Implemented resources :foos, :except => :all option | Piotr Sarnacki | 2010-09-05 | 1 | -2/+11 | |
| | ||||||
* | Removed deprecated RouteSet API, still many tests fail | Piotr Sarnacki | 2010-09-05 | 2 | -15/+4 | |
| | ||||||
* | Implemented RouteSet#default_scope, which allows to set the scope for the ↵ | Piotr Sarnacki | 2010-09-03 | 2 | -2/+12 | |
| | | | | entire routes object |