Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | | Refactor template preloading. New abstractions include Renderable mixins and ↵ | Joshua Peek | 2008-07-12 | 19 | -465/+354 | |
| | | | | | | | | | | | | a refactored Template class. | |||||
| * | | Set global ActionController::Base.view_paths for test cases | Joshua Peek | 2008-07-12 | 15 | -49/+4 | |
| | | | ||||||
| * | | Removed a few implementation specific view path tests | Joshua Peek | 2008-07-12 | 1 | -14/+0 | |
| | | | ||||||
| * | | Improve test coverage and create fixtures for ↵ | Joshua Peek | 2008-07-12 | 6 | -0/+14 | |
| | | | | | | | | | | | | RenderPartialWithRecordIdentificationTests | |||||
| * | | Restore support for partial matches in assert_redirected_to | Michael Koziarski | 2008-07-12 | 2 | -2/+14 | |
| | | | | | | | | | | | | If both the actual redirection and the asserted redirection are hashes, succeed if the asserted redirection is a strict subset of the actual redirection. | |||||
| * | | Ensure mail_to label is obfuscated for javascript encoding. [#294 ↵ | Johan Sørensen | 2008-07-12 | 2 | -1/+2 | |
| | | | | | | | | | | | | | | | | | | state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | |||||
| * | | Changed ActionView::TemplateHandler#render API method signature to ↵ | Joshua Peek | 2008-07-11 | 7 | -13/+14 | |
| | | | | | | | | | | | | render(template, local_assigns = {}) | |||||
| * | | Whitespace | Michael Koziarski | 2008-07-11 | 1 | -2/+1 | |
| | | | ||||||
| * | | Ensure use_accept_header is enabled for test_action_cache_conditional_options | Joshua Peek | 2008-07-11 | 1 | -1/+2 | |
| | | | ||||||
| * | | Ensure use_accept_header is enabled for test_action_cache_conditional_options | Joshua Peek | 2008-07-11 | 1 | -0/+2 | |
| | | | ||||||
| * | | Fixed teardown method typo (plus whitespace) | Joshua Peek | 2008-07-11 | 1 | -17/+15 | |
| | | | ||||||
| * | | Check for response in builder template since ActionMailer does not have one | Joshua Peek | 2008-07-11 | 1 | -1/+2 | |
| | | | ||||||
| * | | 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 | |
| | | | ||||||
| * | | Fix teardown method name typo | Jeremy Kemper | 2008-07-09 | 1 | -1/+1 | |
| | | | ||||||
| * | | Put a newline rather than a semicolon at the end of RJS source to avoid ↵ | Jeremy Kemper | 2008-07-09 | 1 | -1/+1 | |
| | | | | | | | | | | | | parse errors with embedded heredocs | |||||
| * | | Use ActionController::Base.logger to report template compilation errors ↵ | Jeremy Kemper | 2008-07-09 | 1 | -4/+4 | |
| | | | | | | | | | | | | since there is no AV::Base.logger | |||||
| * | | Rendering default template for missing actions works with non-word ↵ | Jeremy Kemper | 2008-07-09 | 3 | -1/+7 | |
| | | | | | | | | | | | | characters in action name | |||||
| * | | Pass caller to concat deprecation warning | Jeremy Kemper | 2008-07-09 | 1 | -1/+1 | |
| | | | ||||||
| * | | Reenable the use of the Accept header to give people a chance to update ↵ | Michael Koziarski | 2008-07-09 | 2 | -7/+8 | |
| | | | | | | | | | | | | their applications and provide feedback. | |||||
| * | | Changed PrototypeHelper#submit_to_remote to PrototypeHelper#button_to_remote ↵ | David Heinemeier Hansson | 2008-07-09 | 3 | -5/+10 | |
| | | | | | | | | | | | | to stay consistent with link_to_remote (submit_to_remote still works as an alias) (clemens) [#8994 status:closed] | |||||
| * | | Ensure url_for(nil) falls back to url_for({}). [#472 state:resolved] | Cheah Chu Yeow | 2008-07-09 | 3 | -6/+14 | |
| | | | | | | | | | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | |||||
| * | | Add :recursive option to javascript_include_tag and stylesheet_link_tag to ↵ | Damian Janowski | 2008-07-08 | 5 | -14/+89 | |
| | | | | | | | | | | | | | | | | | | be used along with :all. [#480 state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | |||||
| * | | Disable the Accept header by default | Michael Koziarski | 2008-07-07 | 10 | -30/+76 | |
| | | | | | | | | | | | | | | | | | | | | | | | | 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] | |||||
| * | | Added local assign keys to compiled method name so two threads evaluating ↵ | Joshua Peek | 2008-07-06 | 3 | -26/+9 | |
| | | | | | | | | | | | | the same template with different locals don't step on top of each other | |||||
| * | | Synchronize template compiling | Joshua Peek | 2008-07-06 | 1 | -31/+34 | |
| | | | ||||||
| * | | Lookup compiled methods in CompiledTemplates instance methods set instead of ↵ | Joshua Peek | 2008-07-05 | 5 | -50/+30 | |
| | | | | | | | | | | | | using a "methods_names" hash | |||||
| * | | Do not stat template files in production mode before rendering. You will no ↵ | Joshua Peek | 2008-07-05 | 3 | -29/+18 | |
| | | | | | | | | | | | | longer be able to modify templates in production mode without restarting the server | |||||
| * | | Use the inline template's hash as a method key instead of relying on a counter | Joshua Peek | 2008-07-05 | 1 | -7/+2 | |
| | | | ||||||
| * | | Removed unused template_args variable | Joshua Peek | 2008-07-05 | 1 | -2/+0 | |
| | | | ||||||
| * | | Deprecated TemplateHandler line offset | Joshua Peek | 2008-07-05 | 5 | -74/+57 | |
| | | | ||||||
| * | | Ensure all complied method names are cleaned up in the error backtrace | Joshua Peek | 2008-07-05 | 1 | -1/+1 | |
| | | | ||||||
| * | | Moved complied method name logic into Renderable | Joshua Peek | 2008-07-05 | 4 | -23/+24 | |
| | | | ||||||
| * | | Renamed Renderer to Renderable | Joshua Peek | 2008-07-05 | 4 | -4/+4 | |
| | | | ||||||
| * | | 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 | 6 | -114/+50 | |
| | | | | | | | | | | | | | | | | | | 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 | 4 | -43/+5 | |
| | | | | | | | | | | | | | | | | | | integration tests. The follow_redirect in functional tests only worked if you used redirect_to :id=>foo, :action=>bar, rather than named routes. | |||||
| * | | Revert "Moved TemplateHandlers to Base" | Joshua Peek | 2008-07-03 | 6 | -14/+9 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 42d215a925a228778e43f7040f03ad8f3eb5341c. Conflicts: actionpack/lib/action_view/inline_template.rb actionpack/lib/action_view/template.rb | |||||
| * | | Allow caches_action to accept cache store options. [#416 state:resolved] | josevalim | 2008-07-04 | 3 | -8/+24 | |
| | | | | | | | | | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | |||||
| * | | Allow date helpers to ignore date hidden field tags. [#503 state:resolved] | miloops | 2008-07-04 | 2 | -2/+20 | |
| | | | | | | | | | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | |||||
| * | | Reduce the number of callsites for new TemplateFiles | Joshua Peek | 2008-07-03 | 3 | -22/+33 | |
| | | | ||||||
| * | | Extracted Template rendering logic into Renderer module | Joshua Peek | 2008-07-03 | 5 | -33/+42 | |
| | | | ||||||
| * | | Use render on InlineTemplate | Joshua Peek | 2008-07-03 | 1 | -1/+1 | |
| | | | ||||||
| * | | Don't rely on view instance logger | Joshua Peek | 2008-07-03 | 1 | -4/+4 | |
| | | | ||||||
| * | | Moved TemplateHandlers to Base | Joshua Peek | 2008-07-03 | 6 | -9/+13 | |
| | | | ||||||
| * | | Tighten the rescue clause when dealing with invalid instance variable names ↵ | Michael Koziarski | 2008-07-03 | 1 | -1/+5 | |
| | | | | | | | | | | | | in form_helper. | |||||
| * | | Move the file exists checks outside write_asset_file_contents. | Michael Koziarski | 2008-07-03 | 1 | -6/+4 | |
| | | | | | | | | | | | | This lets us avoid the relatively costly trip through compute_*_paths if the file already exists. |