aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack
Commit message (Collapse)AuthorAgeFilesLines
...
| * | Fix respond_with example code so it makes senseWill2010-12-191-2/+2
| | |
| * | 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-152-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 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-202-40/+8
| | | |
* | | | Replace AD::Callbacks.to_prepare with AD::Reloader.to_prepareJohn Firebaugh2010-12-202-84/+19
| | | | | | | | | | | | | | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* | | | Introduce ActionDispatch::ReloaderJohn Firebaugh2010-12-203-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 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-182-2/+8
| | | |
* | | | dry up case / when statementAaron Patterson2010-12-171-5/+3
| | | |
* | | | Revert "Fixed number_with_precision rounding error [#6182 state:resolved]"Piotr Sarnacki2010-12-172-8/+2
| | | | | | | | | | | | | | | | This reverts commit 006ec77e60163d57d655479602230672d98e0f10.
* | | | Fixed number_with_precision rounding error [#6182 state:resolved]Don Wilson2010-12-172-2/+8
| | | |
* | | | Changelog and guide entries for config.action_view.cache_template_loadingPiotr Sarnacki2010-12-161-0/+2
| | | |
* | | | Bring back config.action_view.cache_template_loading [#5847 state:resolved]Piotr Sarnacki2010-12-163-4/+25
| | | |
* | | | Replace rudimentary named_scope with scope. [#6052 state:resolved]Pavel Gorbokon2010-12-151-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 storebrainopia2010-12-162-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 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-092-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é 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-092-1/+6
| | |
* | | Check if the routes object really responds to define_mount_prefix.José Valim2010-12-092-1/+19
|/ /
* | 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-042-1/+6
| | |
* | | Use ||= hereSantiago Pastorino2010-12-041-1/+1
| | |
* | | Make TranslationHelper#translate use the :rescue_format option in I18n 0.5.0Sven Fuchs2010-12-047-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 gemSven Fuchs2010-12-041-1/+1
| | | | | | | | | | | | 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-038-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 Kalderimis2010-11-303-0/+48
| | | | | | | | | | | | | | | | routing redirect method, a small changelog note, and two extra tests for path interpolation when using the hash option syntax.