Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Correct deprecated AR usage in ActionController::MimeResponds documentation | Will | 2010-12-19 | 1 | -4/+4 | |
| | ||||||
* | 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 | |||||
* | Ensure that while caching a page rails takes into | Neeraj Singh | 2010-12-09 | 1 | -7/+13 | |
| | | | | | | | | account the resolved mime type for the request [#6110 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | Clean up asset_host and asset_path. | José Valim | 2010-12-09 | 1 | -2/+2 | |
| | ||||||
* | 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-11-27 | 1 | -3/+7 | |
|\ | ||||||
| * | Add explicit statement that verify_authenticity_token can be turned off for ↵ | Ryan Bigg | 2010-11-27 | 1 | -3/+7 | |
| | | | | | | | | actions. | |||||
* | | implicit self here | Santiago Pastorino | 2010-11-25 | 1 | -1/+1 | |
| | | ||||||
* | | move the setting up of the mime collector into the collector on init | Josh Kalderimis | 2010-11-25 | 1 | -3/+3 | |
| | | | | | | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | |||||
* | | If a user wants json output then try best to render json output. In such ↵ | Neeraj Singh | 2010-11-24 | 1 | -1/+1 | |
|/ | | | | | | | | cases prefer kind_of(String) over respond_to?(to_str) [#5841 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | :subdomain, :domain and :tld_length options can now be used in url_for, ↵ | Josh Kalderimis | 2010-11-23 | 1 | -1/+3 | |
| | | | | | | allowing for easy manipulation of the host during link generation. Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | Remove unused constant | Santiago Pastorino | 2010-11-22 | 1 | -2/+0 | |
| | ||||||
* | There's no need for ternary op here | Santiago Pastorino | 2010-11-22 | 1 | -1/+1 | |
| | ||||||
* | Remove unneeded metaprogramming and method generation in favor of direct ↵ | Santiago Pastorino | 2010-11-22 | 1 | -24/+10 | |
| | | | | definition | |||||
* | class inheritable attributes is used no more! all internal use of class ↵ | Josh Kalderimis | 2010-11-20 | 2 | -4/+6 | |
| | | | | | | inheritable has been changed to class_attribute. class inheritable attributes has been deprecated. Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | Fix indentation | Santiago Pastorino | 2010-11-20 | 1 | -24/+23 | |
| | ||||||
* | Add config.action_controller.include_all_helpers, by default it is set to true. | Piotr Sarnacki | 2010-11-18 | 2 | -2/+5 | |
| | | | | | | | In older rails versions there was a way to use only helpers from helper file corresponding to current controller and you could also include all helpers by saying 'helper :all' in controller. This config allows to return to older behavior by setting it to false. | |||||
* | Move @assigns from the controller to the test itself | Santiago Pastorino | 2010-11-06 | 2 | -1/+1 | |
| | ||||||
* | Fix problems trying to functional test AC::Metal controllers | Santiago Pastorino | 2010-11-06 | 2 | -11/+3 | |
| | | | | [#5393 state:committed] | |||||
* | Correctly handle the case of an API response that returns a hash by treating ↵ | Chris Eppstein | 2010-11-06 | 1 | -1/+1 | |
| | | | | a single hash argument as the resource instead of as options. | |||||
* | AC::Caching DRYup | Krekoten' Marjan | 2010-10-18 | 1 | -5/+1 | |
| | | | | | | | Remove ActionController::Caching::Pages#caching_allowed because it duplicates ActionController::Caching#caching_allowed? Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | |||||
* | Reset assert_template instance variables between requests [#5832 state:resolved] | Andrew White | 2010-10-18 | 1 | -0/+7 | |
| | ||||||
* | replace if ! with unless | Neeraj Singh | 2010-10-17 | 1 | -1/+1 | |
| | | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | |||||
* | Merge branch 'master' of git://github.com/lifo/docrails | Xavier Noria | 2010-10-14 | 1 | -1/+1 | |
|\ | ||||||
| * | Fix small typo in documentation | Krekoten' Marjan | 2010-10-12 | 1 | -1/+1 | |
| | | ||||||
* | | Return a valid empty JSON on successful PUT and DELETE requests. [#5199 ↵ | Szymon Nowak | 2010-10-12 | 1 | -0/+20 | |
|/ | | | | | | state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | Rendering doesn't need RackDelegation | wycats | 2010-10-10 | 1 | -1/+0 | |
| | ||||||
* | Fix a few bugs when trying to use Head standalone | wycats | 2010-10-10 | 2 | -4/+7 | |
| | ||||||
* | Merge branch 'master' of git://github.com/lifo/docrails | Xavier Noria | 2010-10-06 | 1 | -4/+0 | |
|\ | ||||||
| * | `render :text => proc { ... }` is no longer supported. | John Firebaugh | 2010-10-04 | 1 | -4/+0 | |
| | | ||||||
* | | Provide a cleaner syntax for paths configuration that does not rely on ↵ | José Valim | 2010-10-06 | 2 | -6/+8 | |
| | | | | | | | | method_missing. | |||||
* | | Solve some warnings and a failing test. | José Valim | 2010-10-03 | 1 | -0/+1 | |
| | | ||||||
* | | Rely on Rack::Session stores API for more compatibility across the Ruby world. | José Valim | 2010-10-03 | 1 | -3/+5 | |
| | | ||||||
* | | no need of nil check | Neeraj Singh | 2010-09-30 | 1 | -1/+1 | |
| | | ||||||
* | | reduce function calls on Array | Aaron Patterson | 2010-09-29 | 1 | -3/+2 | |
| | | ||||||
* | | removing more lolinject | Aaron Patterson | 2010-09-29 | 1 | -8/+7 | |
| | | ||||||
* | | removing lollerject | Aaron Patterson | 2010-09-29 | 1 | -1/+1 | |
|/ | ||||||
* | Merge remote branch 'miloops/warnings' | José Valim | 2010-09-29 | 1 | -3/+5 | |
|\ | ||||||
| * | Remove more warnings: no need to define attr_accessor if already exists. ↵ | Emilio Tagua | 2010-09-28 | 1 | -3/+5 | |
| | | | | | | | | Initialize ivar. | |||||
| * | Move uri parser to AS as URI.parser method to reuse it in AP and ARes. | Emilio Tagua | 2010-09-27 | 3 | -19/+2 | |
| | | ||||||
* | | Move uri parser to AS as URI.parser method to reuse it in AP and ARes. | Emilio Tagua | 2010-09-28 | 3 | -19/+2 | |
| | | ||||||
* | | Fix tests on 1.9.2. | José Valim | 2010-09-28 | 1 | -0/+1 | |
| | | ||||||
* | | renderer calls object.to_json when rendering :json => object [#5655 ↵ | Diego Carrion | 2010-09-27 | 1 | -1/+1 | |
|/ | | | | | | state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | Remove more warnings shadowing outer local variable. | Emilio Tagua | 2010-09-27 | 2 | -6/+6 | |
| | | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | |||||
* | Remove warning "URI.unescape is obsolete" from actionpack. | Emilio Tagua | 2010-09-27 | 4 | -9/+13 | |
| | | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | |||||
* | Do not cache the script name outcome. | José Valim | 2010-09-27 | 1 | -9/+11 | |
| | ||||||
* | Merge remote branch 'miloops/warnings' | José Valim | 2010-09-27 | 6 | -11/+25 | |
|\ | | | | | | | | | Conflicts: actionpack/lib/action_controller/metal/url_for.rb | |||||
| * | Initialize @_routes if not defined yet, avoiding more warnings. | Emilio Tagua | 2010-09-27 | 1 | -0/+1 | |
| | | ||||||
| * | Avoid uninitialized variable warning. | Emilio Tagua | 2010-09-27 | 1 | -1/+1 | |
| | |