aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib
Commit message (Collapse)AuthorAgeFilesLines
...
| * | Correct deprecated AR usage in ActionController::MimeResponds documentationWill2010-12-191-4/+4
| | |
| * | Merge branch 'master' of git://github.com/lifo/docrailsXavier Noria2010-12-153-18/+34
| |\ \
| * | | Fix edge cases for domain :all option on cookie storebrainopia2010-12-151-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 Sarnacki2010-12-151-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é Valim2010-12-201-20/+3
| | | |
* | | | Replace AD::Callbacks.to_prepare with AD::Reloader.to_prepareJohn Firebaugh2010-12-201-25/+6
| | | | | | | | | | | | | | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* | | | Introduce ActionDispatch::ReloaderJohn Firebaugh2010-12-202-0/+83
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 inSantiago Pastorino2010-12-191-1/+0
| | | |
* | | | Add missing requireSantiago Pastorino2010-12-191-0/+1
| | | |
* | | | Fixed number_with_precision rounding error [#6182 state:resolved]Don Wilson2010-12-181-2/+3
| | | |
* | | | dry up case / when statementAaron Patterson2010-12-171-5/+3
| | | |
* | | | Revert "Fixed number_with_precision rounding error [#6182 state:resolved]"Piotr Sarnacki2010-12-171-3/+2
| | | | | | | | | | | | | | | | This reverts commit 006ec77e60163d57d655479602230672d98e0f10.
* | | | Fixed number_with_precision rounding error [#6182 state:resolved]Don Wilson2010-12-171-2/+3
| | | |
* | | | Bring back config.action_view.cache_template_loading [#5847 state:resolved]Piotr Sarnacki2010-12-163-4/+25
| | | |
* | | | Fix edge cases for domain :all option on cookie storebrainopia2010-12-161-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 Sarnacki2010-12-161-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 correctlyAditya Sanghi2010-12-151-1/+1
| | |
* | | Added :placeholder option to ActionView::Helpers::FormTagHelper text_field_tagBen Mills2010-12-131-0/+4
| | |
* | | Fix indentation on the namespace method's documentationRyan Bigg2010-12-131-16/+16
| | |
* | | Remove nodoc from FormBuilder because the methods inside are public API methodsRyan Bigg2010-12-131-1/+1
| | |
* | | Provide an example for ActionDispatch::Routing::Mapper#scopeRyan Bigg2010-12-111-0/+12
|/ /
* | Merge branch 'master' of git://github.com/lifo/docrailsXavier Noria2010-12-111-5/+10
|\ \ | | | | | | | | | | | | Conflicts: activerecord/lib/active_record/transactions.rb
| * | Action Controller Overview: Remove dead link to the API docs for filtersRyan Bigg2010-12-101-0/+1
| | |
| * | root method options are the same as the match methodRyan Bigg2010-12-101-0/+2
| | |
| * | root route should go at the *top* of the routes file, because it is the most ↵Ryan Bigg2010-12-091-1/+3
| | | | | | | | | | | | popular route and should be matched first
| * | indent code samples for mount docRyan Bigg2010-12-091-3/+3
| | |
| * | mapper.rb: add "options" to make the default-to-namespace-name line read betterRyan Bigg2010-12-091-1/+1
| | |
* | | Ensure that while caching a page rails takes intoNeeraj Singh2010-12-091-7/+13
| | | | | | | | | | | | | | | | | | | | | | | | 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é Valim2010-12-093-6/+4
| | |
* | | Clean up asset_host and asset_path.José Valim2010-12-091-2/+2
| | |
* | | Properly check the arity for template handlers.José Valim2010-12-091-1/+1
| | |
* | | Check if the routes object really responds to define_mount_prefix.José Valim2010-12-091-1/+1
|/ /
* | makes a pass to the action caching rdocXavier Noria2010-12-081-32/+41
| |
* | Add to documentation that action caching doesNeeraj Singh2010-12-061-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/docrailsXavier Noria2010-12-055-15/+11
|\ \
| * | Fix mime type doc typosCarlos Antonio da Silva2010-12-041-2/+2
| | |
| * | Rewording existing commentNeeraj Singh2010-11-301-4/+3
| | |
| * | Rewording existing commentNeeraj Singh2010-11-291-6/+3
| | |
| * | make it clear that recompilation happens only inNeeraj Singh2010-11-271-2/+2
| | | | | | | | | | | | development mode
| * | Added a space before "do" keywordAkira Matsuda2010-11-281-1/+1
| | |
* | | Allow back passing :rescue_format => nil and test addedSantiago Pastorino2010-12-041-1/+1
| | |
* | | Use ||= hereSantiago Pastorino2010-12-041-1/+1
| | |
* | | Make TranslationHelper#translate use the :rescue_format option in I18n 0.5.0Sven Fuchs2010-12-041-7/+25
| | | | | | | | | | | | | | | | | | 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>
* | | Wrap everything in class << self.José Valim2010-12-031-42/+37
| | |
* | | Merge remote branch 'joshk/redirect_routing'José Valim2010-12-034-79/+184
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 Kalderimis2010-11-301-0/+29
| | | | | | | | | | | | | | | | 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 Kalderimis2010-11-304-79/+155
| | | | | | | | | | | | | | | | 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 initJosh Kalderimis2010-11-261-3/+3
| | | |
* | | | Deprecate handler_class_for_extension as template handlers can be any Ruby ↵José Valim2010-12-013-3/+9
| | | | | | | | | | | | | | | | object, not necessarily a class.
* | | | just use aliasAaron Patterson2010-11-301-3/+1
| | | |