Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Make polymorphic_url compact given array [#1317 state:committed] | hiroshi | 2008-11-14 | 1 | -1/+1 |
| | | | | Signed-off-by: David Heinemeier Hansson <david@loudthinking.com> | ||||
* | Tag helper should output an attribute with the value 'false' instead of ↵ | Hongli Lai (Phusion) | 2008-11-13 | 1 | -4/+6 |
| | | | | omitting the attribute, if the associated option is false but not nil. | ||||
* | Fix map.resources to always generate named routes if they're needed | Tom Stuart | 2008-11-13 | 1 | -6/+7 |
| | | | | Signed-off-by: Michael Koziarski <michael@koziarski.com> | ||||
* | Instead of overriding html_types, base the verification on ↵ | Michael Koziarski | 2008-11-13 | 1 | -4/+17 |
| | | | | | | | | browser_generated_types. Also Deprecate the old unverifiable types. [#1145 state:committed] | ||||
* | fix two MimeType failing test cases | rick | 2008-11-13 | 1 | -1/+4 |
| | | | | Signed-off-by: Michael Koziarski <michael@koziarski.com> | ||||
* | Changed request forgery protection to only worry about HTML-formatted ↵ | Jeff Cohen | 2008-11-13 | 3 | -3/+4 |
| | | | | | | content requests. Signed-off-by: Michael Koziarski <michael@koziarski.com> | ||||
* | Add :only/:except options to map.resources | Tom Stuart | 2008-11-12 | 1 | -37/+85 |
| | | | | | | | This allows people with huge numbers of resource routes to cut down on the memory consumption caused by the generated code. Signed-off-by: Michael Koziarski <michael@koziarski.com> [#1215 state:committed] | ||||
* | Eliminate excess Regexp creation due to capture counting | Jeremy Kemper | 2008-11-10 | 2 | -4/+26 |
| | |||||
* | Pare down object creation during route building | Jeremy Kemper | 2008-11-10 | 2 | -30/+27 |
| | |||||
* | Check whether last arg is a Hash instead of duck-typing against [] | Jeremy Kemper | 2008-11-07 | 1 | -4/+9 |
| | |||||
* | Simplify dispatcher callbacks to eliminate unnecessary stale thread purging. ↵ | Nick Sieger | 2008-11-08 | 1 | -1/+0 |
| | | | | | | [Nick Sieger, Pratik Naik] Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | auto_link view helper was failing on URLs with colons after a query param | Rich Manalang | 2008-11-07 | 1 | -2/+2 |
| | | | | | Signed-off-by: Michael Koziarski <michael@koziarski.com> [#1341 state:committed] | ||||
* | Don't eval recognize_optimized use __FILE__ and __LINE__ in the optimised ↵ | Aliaksey Kandratsenka | 2008-11-06 | 1 | -1/+1 |
| | | | | | | | | | recognition code. It produces meaningless line numbers. This also easily produces line numbers greater than recognition_optimization.rb have, which causes rcov to trash memory outside of it's coverage counting arrays. [#1319 state:committed] Signed-off-by: Michael Koziarski <michael@koziarski.com> | ||||
* | Fix stupid typo | Michael Koziarski | 2008-11-06 | 1 | -1/+1 |
| | |||||
* | Fixed the sanitize helper to avoid double escaping already properly escaped ↵ | David Heinemeier Hansson | 2008-11-06 | 1 | -1/+1 |
| | | | | entities [#683 state:committed] | ||||
* | Dont bother logging the parameters hash if there are no parameters | David Heinemeier Hansson | 2008-11-06 | 1 | -1/+1 |
| | |||||
* | Fixed that FormTagHelper generates illegal html if name contains e.g. square ↵ | Vladimir Dobriakov | 2008-11-04 | 1 | -4/+10 |
| | | | | | | brackets [#1238 state:committed] Signed-off-by: David Heinemeier Hansson <david@loudthinking.com> | ||||
* | Fix regression bug that made date_select and datetime_select raise a Null ↵ | Bernardo de Pádua | 2008-11-04 | 1 | -2/+2 |
| | | | | | | Pointer Exception when a nil date/datetime was passed and only month and year were displayed [#1289 state:committed] Signed-off-by: David Heinemeier Hansson <david@loudthinking.com> | ||||
* | Dont log the _method attribute either. Its already available in the header | David Heinemeier Hansson | 2008-11-04 | 4 | -26/+30 |
|\ | |||||
| * | Remove unused debug_routes | Pratik Naik | 2008-11-02 | 1 | -6/+0 |
| | | |||||
| * | Dont dup params twice when filter_parameters is present | Pratik Naik | 2008-11-02 | 1 | -2/+2 |
| | | |||||
| * | Dont document internals | Pratik Naik | 2008-11-02 | 1 | -3/+0 |
| | | |||||
| * | Backwards compatibility fixes for relative_url_root | Michael Koziarski | 2008-11-02 | 2 | -6/+4 |
| | | | | | | | | | | * Make the old deprecated relative_url_root still set the value as it's still used by mongrel * Set the default from the ENV value when the file is required, not at runtime. | ||||
| * | Merge with docrails | Pratik Naik | 2008-11-02 | 2 | -5/+8 |
| | | |||||
| * | Cleaned up route optimisation guard condition generation code as it was ↵ | Tom Lea | 2008-11-01 | 1 | -7/+19 |
| | | | | | | | | | | | | | | | | getting a little messy. Add additional condition to handle the case where default_url_options is only defined in the controller, not the view. Signed-off-by: Michael Koziarski <michael@koziarski.com> | ||||
* | | Dont log the _method attribute either. Its already available in the header | David Heinemeier Hansson | 2008-11-04 | 1 | -2/+2 |
|/ | |||||
* | Simplified the logging format for parameters (don't include controller, ↵ | David Heinemeier Hansson | 2008-11-01 | 1 | -6/+23 |
| | | | | action, and format as duplicates) [DHH] | ||||
* | Make sure habtm use class variable to list association valid keys | Luca Guidi | 2008-11-01 | 1 | -1/+2 |
| | | | | | Signed-off-by: Michael Koziarski <michael@koziarski.com> [#1310 state:committed] | ||||
* | Remove the logging of the Session ID when the session store is CookieStore [DHH] | David Heinemeier Hansson | 2008-11-01 | 1 | -1/+5 |
| | |||||
* | Accidently nixed a doc header | David Heinemeier Hansson | 2008-11-01 | 1 | -0/+1 |
| | |||||
* | Added render :js for people who want to render inline JavaScript replies ↵ | David Heinemeier Hansson | 2008-11-01 | 1 | -1/+23 |
| | | | | without using RJS [DHH] | ||||
* | Ensure content type gets reset after render_to_string [#1182 state:resolved] | Joshua Peek | 2008-10-30 | 1 | -0/+1 |
| | |||||
* | Merge branch 'master' of git@github.com:rails/rails | David Heinemeier Hansson | 2008-10-30 | 1 | -1/+1 |
|\ | |||||
| * | Dup local assigns for partial collections so nil values doesn't get ↵ | Joshua Peek | 2008-10-30 | 1 | -1/+1 |
| | | | | | | | | overwritten [#1250 state:resolved] | ||||
* | | Fixed regex in redirect_to to fully support URI schemes [#1247 state:committed] | Seth Fitzsimmons | 2008-10-30 | 1 | -1/+4 |
|/ | | | | Signed-off-by: David Heinemeier Hansson <david@loudthinking.com> | ||||
* | Proper API for reloading translations | David Heinemeier Hansson | 2008-10-29 | 1 | -0/+4 |
| | |||||
* | Ensure @content_for_* is checked before yielding to block in render :layout ↵ | Ryan Bates | 2008-10-28 | 1 | -1/+1 |
| | | | | | | [#8994 state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com> | ||||
* | Merge branch 'master' of git@github.com:rails/rails | David Heinemeier Hansson | 2008-10-28 | 4 | -14/+19 |
|\ | |||||
| * | Track rendered templates in stack so the current template can always be ↵ | Joshua Peek | 2008-10-28 | 3 | -7/+18 |
| | | | | | | | | accessed. Added ActionView::Base#template to access the template object. | ||||
| * | Thread Safety: Ensure recognize_optimized is immediately written instead of ↵ | Joshua Peek | 2008-10-27 | 1 | -7/+1 |
| | | | | | | | | lazily | ||||
* | | A little less hokus pokus | David Heinemeier Hansson | 2008-10-28 | 1 | -5/+4 |
|/ | |||||
* | modified current_page? to ignore extra parameters unless specified in options | Erik Andrejko | 2008-10-26 | 1 | -3/+14 |
| | | | | | Signed-off-by: Michael Koziarski <michael@koziarski.com> [#805 state:committed] | ||||
* | Fixed bug with asset timestamping when using relative_url_root (Joe ↵ | David Heinemeier Hansson | 2008-10-26 | 1 | -1/+1 |
| | | | | Goldwasser) [#1265 status:committed] | ||||
* | Fix incorrect closing CDATA delimiter. Add tests for CDATA nodes. | Jeffrey Hardy | 2008-10-23 | 1 | -1/+1 |
| | | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Fix that HTML::Node.parse would blow up on unclosed CDATA sections. | Jeffrey Hardy | 2008-10-23 | 1 | -1/+8 |
| | | | | | | | | If an unclosed CDATA section is encountered and parsing is strict, an exception will be raised. Otherwise, we consider the remainder of the line to be the section contents. This is consistent with HTML::Tokenizer#scan_tag. Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Merge with docrails. Also add a rake task to generate guides in your rails ↵ | Pratik Naik | 2008-10-21 | 1 | -6/+6 |
| | | | | | | | | application : rake doc:guides The rake task will generate guides inside doc/guides directory of your application. Open index.html to browse. | ||||
* | Dont try to auto-set the etag based on the body if any freshness headers ↵ | David Heinemeier Hansson | 2008-10-21 | 2 | -12/+27 |
| | | | | have already been set [DHH/José Valim] | ||||
* | Remove stuff that was deprecated in 2-1-stable | Pratik Naik | 2008-10-21 | 2 | -42/+0 |
| | |||||
* | No use case handy for justifying fresh? any more | David Heinemeier Hansson | 2008-10-21 | 1 | -5/+0 |
| | |||||
* | Let fresh_when actually do the head(:not_modified). Cleaner and we get the ↵ | David Heinemeier Hansson | 2008-10-21 | 1 | -10/+8 |
| | | | | filter halting for free then. |