Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | | Set proper engine's asset directories when assets are served from engine. | Piotr Sarnacki | 2010-12-15 | 1 | -0/+8 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | When using stylesheet_link_tag(:all) or javascript_include_tag(:all), assets directories are searched for css or js files. When config.serve_static_assets is set to true, those files can be served directly from engine's directories. That's why assets paths should be set individually for controllers inside engine if we want to serve static assets with ActionDispatch::Static | |||||
* | | | Small changes on AD::Reloader. | José Valim | 2010-12-20 | 2 | -40/+8 | |
| | | | ||||||
* | | | Replace AD::Callbacks.to_prepare with AD::Reloader.to_prepare | John Firebaugh | 2010-12-20 | 2 | -84/+19 | |
| | | | | | | | | | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | | | Introduce ActionDispatch::Reloader | John Firebaugh | 2010-12-20 | 3 | -0/+222 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Based on the implementation on the 2-3-stable branch, patches by Hongli Lai <hongli@phusion.nl>, and helpful suggestions from José Valim. Hongli Lai's patches included locking around the request cycle; this is now handled by Rack::Lock (https://github.com/rack/rack/issues/issue/87/). [#2873] Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | | | Remove require AS::Concern from places where is already in | Santiago Pastorino | 2010-12-19 | 1 | -1/+0 | |
| | | | ||||||
* | | | Add missing require | Santiago Pastorino | 2010-12-19 | 1 | -0/+1 | |
| | | | ||||||
* | | | Fixed number_with_precision rounding error [#6182 state:resolved] | Don Wilson | 2010-12-18 | 2 | -2/+8 | |
| | | | ||||||
* | | | dry up case / when statement | Aaron Patterson | 2010-12-17 | 1 | -5/+3 | |
| | | | ||||||
* | | | Revert "Fixed number_with_precision rounding error [#6182 state:resolved]" | Piotr Sarnacki | 2010-12-17 | 2 | -8/+2 | |
| | | | | | | | | | | | | This reverts commit 006ec77e60163d57d655479602230672d98e0f10. | |||||
* | | | Fixed number_with_precision rounding error [#6182 state:resolved] | Don Wilson | 2010-12-17 | 2 | -2/+8 | |
| | | | ||||||
* | | | Changelog and guide entries for config.action_view.cache_template_loading | Piotr Sarnacki | 2010-12-16 | 1 | -0/+2 | |
| | | | ||||||
* | | | Bring back config.action_view.cache_template_loading [#5847 state:resolved] | Piotr Sarnacki | 2010-12-16 | 3 | -4/+25 | |
| | | | ||||||
* | | | Replace rudimentary named_scope with scope. [#6052 state:resolved] | Pavel Gorbokon | 2010-12-15 | 1 | -3/+3 | |
| | | | | | | | | | | | | | | | | | | | | | * rename method names (actually in tests) * rename instance variable @_named_scopes_cache to @_scopes_cache * rename references in doc comments * don't touch CHANGELOG :) | |||||
* | | | Fix edge cases for domain :all option on cookie store | brainopia | 2010-12-16 | 2 | -2/+26 | |
| | | | | | | | | | | | | | | | | | | | | | | | | Dont set explicit domain for cookies if host is not a domain name [#6002 state:committed] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | |||||
* | | | Set proper engine's asset directories when assets are served from engine. | Piotr Sarnacki | 2010-12-16 | 1 | -0/+8 | |
| |/ |/| | | | | | | | | | | | | | | | When using stylesheet_link_tag(:all) or javascript_include_tag(:all), assets directories are searched for css or js files. When config.serve_static_assets is set to true, those files can be served directly from engine's directories. That's why assets paths should be set individually for controllers inside engine if we want to serve static assets with ActionDispatch::Static | |||||
* | | eternal confusion! fixed doco to inform correctly | Aditya Sanghi | 2010-12-15 | 1 | -1/+1 | |
| | | ||||||
* | | Added :placeholder option to ActionView::Helpers::FormTagHelper text_field_tag | Ben Mills | 2010-12-13 | 1 | -0/+4 | |
| | | ||||||
* | | Fix indentation on the namespace method's documentation | Ryan Bigg | 2010-12-13 | 1 | -16/+16 | |
| | | ||||||
* | | Remove nodoc from FormBuilder because the methods inside are public API methods | Ryan Bigg | 2010-12-13 | 1 | -1/+1 | |
| | | ||||||
* | | Provide an example for ActionDispatch::Routing::Mapper#scope | Ryan Bigg | 2010-12-11 | 1 | -0/+12 | |
|/ | ||||||
* | Merge branch 'master' of git://github.com/lifo/docrails | Xavier Noria | 2010-12-11 | 1 | -5/+10 | |
|\ | | | | | | | | | Conflicts: activerecord/lib/active_record/transactions.rb | |||||
| * | Action Controller Overview: Remove dead link to the API docs for filters | Ryan Bigg | 2010-12-10 | 1 | -0/+1 | |
| | | ||||||
| * | root method options are the same as the match method | Ryan Bigg | 2010-12-10 | 1 | -0/+2 | |
| | | ||||||
| * | root route should go at the *top* of the routes file, because it is the most ↵ | Ryan Bigg | 2010-12-09 | 1 | -1/+3 | |
| | | | | | | | | popular route and should be matched first | |||||
| * | indent code samples for mount doc | Ryan Bigg | 2010-12-09 | 1 | -3/+3 | |
| | | ||||||
| * | mapper.rb: add "options" to make the default-to-namespace-name line read better | Ryan Bigg | 2010-12-09 | 1 | -1/+1 | |
| | | ||||||
* | | Ensure that while caching a page rails takes into | Neeraj Singh | 2010-12-09 | 2 | -7/+29 | |
| | | | | | | | | | | | | | | | | account the resolved mime type for the request [#6110 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | | Ensure resolvers backward compatibility. | José Valim | 2010-12-09 | 3 | -6/+4 | |
| | | ||||||
* | | Clean up asset_host and asset_path. | José Valim | 2010-12-09 | 1 | -2/+2 | |
| | | ||||||
* | | Properly check the arity for template handlers. | José Valim | 2010-12-09 | 2 | -1/+6 | |
| | | ||||||
* | | Check if the routes object really responds to define_mount_prefix. | José Valim | 2010-12-09 | 2 | -1/+19 | |
|/ | ||||||
* | makes a pass to the action caching rdoc | Xavier Noria | 2010-12-08 | 1 | -32/+41 | |
| | ||||||
* | Add to documentation that action caching does | Neeraj Singh | 2010-12-06 | 1 | -0/+5 | |
| | | | | | | handle HTTP_ACCEPT attribute properly and might provide wrong result. Use params[:format] to avoid this issue. | |||||
* | Merge branch 'master' of git://github.com/lifo/docrails | Xavier Noria | 2010-12-05 | 5 | -15/+11 | |
|\ | ||||||
| * | Fix mime type doc typos | Carlos Antonio da Silva | 2010-12-04 | 1 | -2/+2 | |
| | | ||||||
| * | Rewording existing comment | Neeraj Singh | 2010-11-30 | 1 | -4/+3 | |
| | | ||||||
| * | Rewording existing comment | Neeraj Singh | 2010-11-29 | 1 | -6/+3 | |
| | | ||||||
| * | make it clear that recompilation happens only in | Neeraj Singh | 2010-11-27 | 1 | -2/+2 | |
| | | | | | | | | development mode | |||||
| * | Added a space before "do" keyword | Akira Matsuda | 2010-11-28 | 1 | -1/+1 | |
| | | ||||||
* | | Allow back passing :rescue_format => nil and test added | Santiago Pastorino | 2010-12-04 | 2 | -1/+6 | |
| | | ||||||
* | | Use ||= here | Santiago Pastorino | 2010-12-04 | 1 | -1/+1 | |
| | | ||||||
* | | Make TranslationHelper#translate use the :rescue_format option in I18n 0.5.0 | Sven Fuchs | 2010-12-04 | 7 | -36/+68 | |
| | | | | | | | | | | | | Don't catch exceptions here. Instead only declare that we want exceptions to be rescued as :html, but also let users configure reactions to exceptions in I18n. Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | | bump i18n gem | Sven Fuchs | 2010-12-04 | 1 | -1/+1 | |
| | | | | | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | | Wrap everything in class << self. | José Valim | 2010-12-03 | 1 | -42/+37 | |
| | | ||||||
* | | Merge remote branch 'joshk/redirect_routing' | José Valim | 2010-12-03 | 8 | -363/+573 | |
|\ \ | | | | | | | | | | | | | | | | | | | | | | Conflicts: actionpack/CHANGELOG actionpack/lib/action_controller/metal/mime_responds.rb Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
| * | | Added documentation explaining the new additional supported syntaxes for the ↵ | Josh Kalderimis | 2010-11-30 | 3 | -0/+48 | |
| | | | | | | | | | | | | routing redirect method, a small changelog note, and two extra tests for path interpolation when using the hash option syntax. | |||||
| * | | The redirect routing method now allows for a hash of options which only ↵ | Josh Kalderimis | 2010-11-30 | 7 | -363/+525 | |
| | | | | | | | | | | | | changes the relevant parts of the url, or an object which responds to call can be supplied so common redirect rules can be easily reused. This commit includes a change where url generation from parts has been moved to AD::Http::URL as a class method. | |||||
| * | | move the setting up of the mime collector into the collector on init | Josh Kalderimis | 2010-11-26 | 1 | -3/+3 | |
| | | | ||||||
* | | | Deprecate handler_class_for_extension as template handlers can be any Ruby ↵ | José Valim | 2010-12-01 | 3 | -3/+9 | |
| | | | | | | | | | | | | object, not necessarily a class. | |||||
* | | | just use alias | Aaron Patterson | 2010-11-30 | 1 | -3/+1 | |
| | | |