Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Config is deprecated on 1.8.8 and 1.9.3 use RbConfig | Santiago Pastorino | 2010-08-23 | 1 | -1/+1 |
| | |||||
* | Silence warnings for Encoding.default_external= and Encoding.default_internal= | Santiago Pastorino | 2010-08-22 | 1 | -2/+6 |
| | |||||
* | Cache the symbolized path parameters using a instance variable in the ↵ | Andrew White | 2010-08-22 | 1 | -0/+21 |
| | | | | | | | | | | | request object rather than the environment hash. This it to prevent stale parameters in later routing constraints/redirects as only the normal path parameters are set by Rack::Mount. Also if a constraint proc arity is more than one, pass the symbolized path parameters as the first argument to match redirect proc args and provide easier access. [#5157 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Move encoding settings for testing purposes to abstract_unit file | Santiago Pastorino | 2010-08-21 | 2 | -9/+6 |
| | |||||
* | Support routing constraints in functional tests | Andrew White | 2010-08-20 | 1 | -1/+1 |
| | | | | | | | | | | Extend assert_recognizes and assert_generates to support passing full urls as the path argument. This allows testing of routing constraints such as subdomain and host within functional tests. [#5005 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Don't add the standard https port when using redirect in routes.rb and ↵ | Andrew White | 2010-08-20 | 2 | -0/+54 |
| | | | | | | | | ensure that request.scheme returns https when using a reverse proxy. [#5408 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Allow symbols for :path resource(s) option [#5306 state:resolved] | Andrew White | 2010-08-20 | 1 | -0/+19 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Move regexps in options hash to :constraints hash so that they are pushed ↵ | Andrew White | 2010-08-19 | 1 | -0/+22 |
| | | | | | | into the scope [#5208 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Move edit route before show route so that it will have precedence if the :id ↵ | Andrew White | 2010-08-19 | 1 | -0/+16 |
| | | | | | | parameter allows slashes [#5409 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Revert "It's snowing!" | wycats | 2010-08-18 | 2 | -2/+2 |
| | | | | This reverts commit e4283007d607454acf97301821ba1e1c417bdead. | ||||
* | Don't pluralize resource methods [#4704 state:resolved] | Javier Martín | 2010-08-18 | 1 | -0/+62 |
| | | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | ||||
* | Allow member actions (get, etc) to accept strings, with test | Andre Arko | 2010-08-17 | 1 | -1/+1 |
| | |||||
* | code gardening: we have assert_(nil|blank|present), more concise, with ↵ | Xavier Noria | 2010-08-17 | 6 | -12/+12 |
| | | | | better default failure messages - let's use them | ||||
* | select tags coerce the :selected option, options to strings before ↵ | Subba Rao Pasupuleti | 2010-08-15 | 1 | -0/+62 |
| | | | | | | comparison [#5056 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Allow for any possible TLD when using the :all option with the cookie ↵ | Bryce Thornton | 2010-08-15 | 1 | -1/+29 |
| | | | | | | session store. This works for subdomain.mysite.local, google.co.uk, google.com.au, etc. [#5147 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Making time_zone_options_for_select return a html_safe string | Mikel Lindsaar | 2010-08-15 | 1 | -0/+4 |
| | | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | ||||
* | object/try should be required after abstract_unit to have AS in the load path | Santiago Pastorino | 2010-08-14 | 1 | -1/+1 |
| | |||||
* | Deletes trailing whitespaces (over text files only find * -type f -exec sed ↵ | Santiago Pastorino | 2010-08-14 | 52 | -246/+246 |
| | | | | 's/[ \t]*$//' -i {} \;) | ||||
* | It's snowing! | Jeremy Kemper | 2010-08-12 | 2 | -2/+2 |
| | |||||
* | Replace snowman with utf8=✓ | wycats | 2010-08-11 | 2 | -2/+2 |
| | |||||
* | layout_for works again with objects as specified in the documentation and ↵ | José Valim & Carlos Antonio da Silva | 2010-08-11 | 3 | -0/+7 |
| | | | | Rails 2.3 [#5357 state:resolved] | ||||
* | rename _snowman to _e | wycats | 2010-08-09 | 2 | -2/+2 |
| | |||||
* | adds missing requires for Object#try | Xavier Noria | 2010-08-09 | 1 | -0/+1 |
| | |||||
* | adds URL to the body generated by the redirect macro in the routes mapper as ↵ | Xavier Noria | 2010-08-09 | 1 | -30/+25 |
| | | | | per the RFC, extracts common test pattern into a test macro, adds a test to cover the :status option | ||||
* | Reload action_methods in AbstractController after defining new method. | Piotr Sarnacki | 2010-08-04 | 1 | -0/+14 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Use AS::OrderedHash when trusting in the order of the hash | Santiago Pastorino | 2010-08-01 | 1 | -2/+3 |
| | |||||
* | Fix label form helper to use I18n and html options, without the need of ↵ | Carlos Antonio da Silva | 2010-08-01 | 1 | -2/+9 |
| | | | | | | | | | | | 'nil' text param: Before: f.label :title, nil, :class => 'title' After : f.label :title, :class => 'title' [#5267 state:committed] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | ||||
* | Makes form_helper use overriden model accessors | Santiago Pastorino | 2010-08-01 | 1 | -0/+17 |
| | | | | [#3374 state:committed] | ||||
* | link_to_function now expects a piece of javascript code for the onclick ↵ | Rodrigo Dominguez | 2010-07-29 | 1 | -4/+5 |
| | | | | | | | | parameter [#5179] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | ||||
* | Removed deprecated APIs in text and number helpers [#5156 state:resolved] | Łukasz Strzałkowski | 2010-07-26 | 1 | -27/+0 |
| | | | | | | They're deprecated since 2008. It's time to get rid of them. Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Add assertion to link_to_function test with block and capture, and more ↵ | Carlos Antonio da Silva | 2010-07-25 | 1 | -5/+4 |
| | | | | | | expressive test name [#5179 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Change returning with tap | Santiago Pastorino | 2010-07-25 | 1 | -1/+1 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Fixed output_buffer encoding problem [#5179] | Sebastian A. Espindola | 2010-07-25 | 1 | -0/+9 |
| | | | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | These tests are trusting in the order of the elements so use OrderedHash ↵ | Santiago Pastorino | 2010-07-21 | 1 | -13/+9 |
| | | | | instead of Hash | ||||
* | Fixed a globbed route issue where slashes were being escaped, causing ↵ | Brian Rose | 2010-07-21 | 1 | -0/+7 |
| | | | | | | assert_routing to fail. [#5135 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | remote_function patch with more detailed test | Andrew Kaspick | 2010-07-21 | 1 | -0/+6 |
| | | | | Signed-off-by: wycats <wycats@gmail.com> | ||||
* | Ensure insert_before in middleware stack raises a meaningful error message ↵ | José Valim | 2010-07-21 | 1 | -0/+10 |
| | | | | [#3679 state:resolved] | ||||
* | Moved a few methods from RecordIdentifier to ActiveModel::Naming | Piotr Sarnacki | 2010-07-21 | 1 | -40/+0 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Extract ParameterFilter class from FilterParameters mixin | Bryan Helmkamp | 2010-07-19 | 1 | -4/+4 |
| | | | | Signed-off-by: wycats <wycats@gmail.com> | ||||
* | Remove assert_valid. It was already deprecated on Rails 2.3. | José Valim | 2010-07-19 | 1 | -15/+0 |
| | |||||
* | Exceptions from views should be rescued based on the original exception. If ↵ | Neeraj Singh | 2010-07-19 | 1 | -0/+27 |
| | | | | | | | | a handler for original exception is missing then apply ActiveView::TemplateError [#2034 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Set session options id to nil is respected and cancels lazy loading. | José Valim | 2010-07-18 | 1 | -1/+19 |
| | |||||
* | select :include_blank or :prompt should return escaped string [#5099 ↵ | Ivan Torres | 2010-07-18 | 1 | -0/+23 |
| | | | | | | state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | remove size attribute from tag generated by file_field helper [#5084 ↵ | Miles Egan | 2010-07-13 | 1 | -0/+5 |
| | | | | | | state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Routes should respect namespace even if action is a regexp and just ↵ | José Valim | 2010-07-12 | 1 | -3/+15 |
| | | | | controller is given to to. | ||||
* | Fix setting helpers_path to a string or pathname | Jeremy Kemper | 2010-07-07 | 2 | -4/+4 |
| | |||||
* | When a dynamic :controller segment is present in the path add a Regexp ↵ | Andrew White | 2010-07-07 | 1 | -11/+25 |
| | | | | | | | | | | | constraint that allow matching on multiple path segments. Using a namespace block isn't compatible with dynamic routes so we raise an ArgumentError if we detect a :module present in the scope. [#5052 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Refactor handling of :only and :except options. The rules are: | Andrew White | 2010-07-06 | 1 | -47/+190 |
| | | | | | | | | | | | 1. Don't inherit when specified as an option on a resource 2. Don't push into scope when specified as an option on a resource 2. Resources pull in :only or :except options from scope 3. Either :only or :except in nested scope overwrites parent scope [#5048 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Recognize should also work with route is wrapped in a constraint. | José Valim | 2010-07-06 | 1 | -1/+4 |
| | |||||
* | Adds tests for content negotiation change introduced in dc5300adb6d46252c26e | Patrik Stenmark | 2010-07-04 | 1 | -0/+20 |
| | | | | Signed-off-by: wycats <wycats@gmail.com> |