Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Allow generated url helpers to be overriden [#5243 state:resolved] | Andrew White | 2010-10-26 | 1 | -5/+5 | |
| | ||||||
* | Add support to render :once. | José Valim | 2010-10-10 | 1 | -1/+1 | |
| | | | | This will be used internally by sprockets to ensure requires are executed just once. | |||||
* | Fix a few bugs when trying to use Head standalone | wycats | 2010-10-10 | 1 | -0/+1 | |
| | ||||||
* | render :template => 'foo/bar.json' now works as it should. | José Valim | 2010-10-07 | 1 | -1/+0 | |
| | ||||||
* | Make collection rendering faster. | José Valim | 2010-10-07 | 1 | -1/+1 | |
| | ||||||
* | oops, missed a uniq | Aaron Patterson | 2010-09-29 | 1 | -1/+1 | |
| | ||||||
* | dry up action_methods | Aaron Patterson | 2010-09-29 | 1 | -4/+4 | |
| | ||||||
* | no need to call e.class | Aaron Patterson | 2010-09-29 | 1 | -1/+1 | |
| | ||||||
* | Fix a small typo (ht: masterkain) | José Valim | 2010-09-29 | 1 | -1/+1 | |
| | ||||||
* | Avoid (@_var ||= nil) pattern by using initialize methods and ensuring ↵ | José Valim | 2010-09-29 | 3 | -5/+2 | |
| | | | | everyone calls super as expected. | |||||
* | Define @_layout if it is not defined. | Emilio Tagua | 2010-09-28 | 1 | -0/+1 | |
| | ||||||
* | Avoid more uninitialized variable warnings. | Emilio Tagua | 2010-09-28 | 1 | -1/+1 | |
| | ||||||
* | Refactor ActionMailer to not use hide_actions | Piotr Sarnacki | 2010-09-03 | 1 | -0/+28 | |
| | ||||||
* | Move ActionController::Railties::RoutesHelpers and ↵ | Piotr Sarnacki | 2010-09-03 | 1 | -0/+18 | |
| | | | | ActionMailer::Railties::RoutesHelper to AbstractController::Railties::RoutesHelpers | |||||
* | Add mounted_helpers to routes | Piotr Sarnacki | 2010-09-03 | 1 | -0/+1 | |
| | | | | | | | | | | | | | | | | mounted_helpers are a bit similar to url_helpers. They're automatically included in controllers for Rails.application and each of mounted Engines. Mounted helper allows to call url_for and named helpers for given application. Given Blog::Engine mounted as blog_engine, there are 2 helpers defined: app and blog_engine. You can call routes for app and engine using those helpers: app.root_url app.url_for(:controller => "foo") blog_engine.posts_path blog_engine.url_for(@post) | |||||
* | Ensure that inherited helper_methods are available after calling ↵ | Jesse Storimer | 2010-08-28 | 1 | -1/+11 | |
| | | | | | | clear_helpers [#5348 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | Add clear_helpers as a way to clean up all helpers added to this controller, ↵ | José Valim | 2010-08-26 | 1 | -0/+7 | |
| | | | | maintaing just the helper with the same name as the controller. | |||||
* | fixed capitalization | Joost Baaij | 2010-08-25 | 1 | -8/+8 | |
| | ||||||
* | change rdoc to conform to api guidelines | Joost Baaij | 2010-08-25 | 5 | -57/+60 | |
| | ||||||
* | Deletes trailing whitespaces (over text files only find * -type f -exec sed ↵ | Santiago Pastorino | 2010-08-14 | 1 | -1/+1 | |
| | | | | 's/[ \t]*$//' -i {} \;) | |||||
* | Reload action_methods in AbstractController after defining new method. | Piotr Sarnacki | 2010-08-04 | 1 | -0/+12 | |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | Also move asset_path to AbstractController. | José Valim | 2010-07-24 | 1 | -1/+1 | |
| | ||||||
* | Move config_accessor :asset_host from ActionController::Base to ↵ | Jeroen van Dijk and Josh Kalderimis | 2010-07-24 | 1 | -1/+1 | |
| | | | | | | | | AbstractController which fixes issues with asset_host in ActionMailer Including: - Moved mailer objects in separate directory - Added two tests for asset_host configuration option | |||||
* | Unify routes naming by renaming router to routes | Piotr Sarnacki | 2010-07-02 | 1 | -2/+2 | |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | ActiveRecord and ActionPack now use the new descendants implementation. | José Valim | 2010-06-19 | 1 | -11/+2 | |
| | ||||||
* | Missing method error doesn't specify which controller it is missing from ↵ | Alan Harper | 2010-06-10 | 1 | -1/+1 | |
| | | | | | | | | | [#4436 state:resolved] The error page shown when the method you are requesting on a controller doesn't specify which controller the method is missing from Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | class_attribute is not a direct replacement of class_inheritable_*. | José Valim | 2010-06-10 | 1 | -1/+2 | |
| | | | | | | If you are setting a hash or an array in class_attribute or you need to freeze it, to ensure people won't modify it in place or you need to dup it on inheritance. | |||||
* | Missed the extraction | David Heinemeier Hansson | 2010-06-03 | 1 | -0/+9 | |
| | ||||||
* | Changes made while working on upgrading cells to Rails 3 | wycats | 2010-06-03 | 2 | -0/+2 | |
| | ||||||
* | Minor typo fix in callbacks.rb of abstract_controller | Rohit Arondekar | 2010-06-03 | 1 | -1/+1 | |
| | ||||||
* | refactor evals and adds some __FILE__ and __LINE__ | Santiago Pastorino | 2010-05-20 | 1 | -3/+3 | |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | Clean up the config object in ActionPack. Create config_accessor which just ↵ | José Valim | 2010-04-22 | 4 | -36/+5 | |
| | | | | delegates to the config object, reducing the number of deprecations and add specific tests. | |||||
* | Revert "Avoid deprecation warnings and potential TypeErrors [#4404 ↵ | Carl Lerche | 2010-04-16 | 2 | -3/+3 | |
| | | | | | | | state:resolved]" Revert "protected instance variables added to the deprecated config accessor This reverts commit 4bce5ba600596b5e7afec9b097866ac259c5940a and 0ee2d3c89a893f0c53924cbb756c7e9be616eb8f. | |||||
* | Avoid deprecation warnings and potential TypeErrors [#4404 state:resolved] | Nicolas Sanguinetti | 2010-04-15 | 2 | -3/+3 | |
| | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | |||||
* | Fix ActionMailer test broken in 99d54599215c2a8cea7e57f609e8e578043d71b2 | José Valim | 2010-04-12 | 1 | -2/+1 | |
| | ||||||
* | render_to_string should have the identical signature as render | wycats | 2010-04-04 | 1 | -9/+8 | |
| | ||||||
* | Well that was a bust | wycats | 2010-03-18 | 1 | -1/+5 | |
| | ||||||
* | We seem to have removed the URL helpers from ActionView subclasses... | wycats | 2010-03-18 | 2 | -0/+7 | |
| | ||||||
* | Each controller class has it's own view context subclass. This removes the ↵ | Carlhuda | 2010-03-18 | 2 | -13/+25 | |
| | | | | need for ActionView::Base.for_controller | |||||
* | Return a valid Rack response from bare ActionController::Metal | Carlhuda | 2010-03-18 | 1 | -13/+1 | |
| | ||||||
* | Make render :partial, :layout consistent between AC and AV | Carlhuda | 2010-03-18 | 1 | -6/+0 | |
| | ||||||
* | All tests pass without memoizing view_context | Carlhuda | 2010-03-18 | 1 | -3/+13 | |
| | ||||||
* | Remove caching's dependency on view_context. Also, make it so that the ↵ | Carlhuda | 2010-03-18 | 1 | -4/+12 | |
| | | | | layout is always rendered the same way (so that layout dependencies on the action actually being rendered aren't masked on the first render) | |||||
* | Make action_has_layout? non-private | Carlhuda | 2010-03-18 | 1 | -4/+4 | |
| | ||||||
* | Ensure json is loaded before using responders. | José Valim | 2010-03-17 | 1 | -1/+0 | |
| | ||||||
* | Remove unneeded AV::Base and AV::Template monkey-patches | Carlhuda | 2010-03-17 | 1 | -0/+1 | |
| | ||||||
* | Eliminate warnings for AM on 1.8 | wycats | 2010-03-16 | 1 | -0/+4 | |
| | ||||||
* | Finish cleaning up rendering stack from views and move assigns evaluation to ↵ | José Valim | 2010-03-12 | 3 | -8/+35 | |
| | | | | controller (so plugins and/or controllers can overwrite just one method). | |||||
* | Allow anything that responds to render to be given as :template and use ↵ | José Valim | 2010-03-12 | 1 | -5/+1 | |
| | | | | find_template instead of find in views. | |||||
* | Optimize and clean up how details key get expired. | José Valim | 2010-03-10 | 2 | -1/+30 | |
| |