Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Merge pull request #7251 from rails/integrate-strong_parameters | David Heinemeier Hansson | 2012-09-18 | 1 | -0/+1 | |
|\ | | | | | Integrate strong_parameters in Rails 4 | |||||
| * | Integrate ActionController::Parameters from StrongParameters gem | Guillermo Iguaran | 2012-09-16 | 1 | -0/+1 | |
| | | ||||||
* | | revises the RDoc of AC::Base.without_modules | Xavier Noria | 2012-09-17 | 1 | -2/+2 | |
| | | ||||||
* | | documents the request and response methods in AC::Base | Xavier Noria | 2012-09-17 | 1 | -3/+21 | |
|/ | ||||||
* | Sprockets-rails tests fail | Dmitry Vorotilin | 2012-09-01 | 1 | -1/+1 | |
| | | | | | | | Method invalid_asset_host! was delegated to controller but sprockets compile assets in their own scope without controller. And if we set asset_host with second parameter it should raise error through invalid_asset_host!. But since controller is nil it cannot be reached. | |||||
* | Deprecate AV::RecordIdentifier in controllers | Piotr Sarnacki | 2012-08-28 | 1 | -1/+1 | |
| | | | | | | | | Methods provided by RecordIdentifier are not widely used in controllers nowadays as they're view specific (this is probably a legacy left after RJS rendering directly in controllers). However if people still need to use it, it's trivial to include ActionView::RecordIdentifier by themselves. | |||||
* | Move ActionController::RecordIdentifier to ActionView | Piotr Sarnacki | 2012-08-28 | 1 | -1/+1 | |
| | | | | | | | Since it's more about DOM classes and ids it belongs to Action View better. What's more, it's more convenient to make it part of Action View to follow the rule that Action Pack can depend on Action View, but not the other way round. | |||||
* | Remove dependency on actionpack in ActionView::AssetPaths | Piotr Sarnacki | 2012-08-28 | 1 | -1/+1 | |
| | | | | | | Since Action View should not depend on actionpack, it's best to delegate invalid_asset_host! to controller and just rely on such simple contract instead of raising ActionController::RoutingError directly. | |||||
* | Extract ActiveRecord::SessionStore from Rails | Prem Sichanugrist | 2012-08-24 | 1 | -9/+0 | |
| | | | | | This functionality will be available from gem `active_record-session_store` instead. | |||||
* | Add ActionController::HTTP | Santiago Pastorino | 2012-03-14 | 1 | -1/+1 | |
| | | | | | | More info http://edgeguides.rubyonrails.org/api_app.html [Carlos Antonio da Silva & Santiago Pastorino] | |||||
* | 'module' is reserved word. Sample of code with error - not cool. | Egor Homakov | 2012-03-13 | 1 | -2/+2 | |
| | ||||||
* | Merge branch 'master' of github.com:lifo/docrails | Vijay Dev | 2012-03-09 | 1 | -0/+10 | |
|\ | ||||||
| * | copy edits [ci skip] | Vijay Dev | 2012-03-07 | 1 | -2/+2 | |
| | | ||||||
| * | Add some docs for ActionController::Base.without_modules | Carlos Antonio da Silva | 2012-03-06 | 1 | -0/+10 | |
| | | ||||||
* | | Remove unused ActionController::SessionManagement | Santiago Pastorino | 2012-03-06 | 1 | -1/+0 | |
|/ | ||||||
* | Move protected instance variables definition, kill compatibility module | Carlos Antonio da Silva | 2012-01-17 | 1 | -2/+5 | |
| | ||||||
* | Remove old compatibility methods not being used | Carlos Antonio da Silva | 2012-01-17 | 1 | -2/+2 | |
| | ||||||
* | Made an example a little more realistic | codesnik | 2012-01-07 | 1 | -1/+1 | |
| | ||||||
* | Fix extend -> include. | José Valim | 2011-12-09 | 1 | -2/+0 | |
| | ||||||
* | Make ActiveSupport::Benchmarkable a default module for ↵ | David Heinemeier Hansson | 2011-12-09 | 1 | -0/+2 | |
| | | | | ActionController::Base, so the #benchmark method is once again available in the controller context like it used to be *DHH* | |||||
* | removes a Serialization constant left in the previous revert | Xavier Noria | 2011-11-25 | 1 | -1/+0 | |
| | ||||||
* | Initial commit of serializer support | Jose and Yehuda | 2011-10-15 | 1 | -0/+1 | |
| | ||||||
* | Fix params hash example in AC::Base comment | Alexey Vakhov | 2011-10-08 | 1 | -1/+1 | |
| | ||||||
* | actionpack/lib/action_controller/base.rb: docs typo | dharmatech | 2011-08-20 | 1 | -1/+1 | |
| | ||||||
* | Ensure that status codes are logged properly | Jesse Storimer | 2011-07-18 | 1 | -4/+4 | |
| | | | | | | Needed to move AC::Metal::Instrumentation before AM::Metal::Rescue so that status codes rendered from rescue_from blocks are logged properly. | |||||
* | more detail on how the flow between redirect and show works, and minor grammar | Matt Jankowski | 2011-06-21 | 1 | -7/+9 | |
| | ||||||
* | Improve performance for filtered parameters and add tests. | José Valim | 2011-05-03 | 1 | -1/+4 | |
| | ||||||
* | Instrumentation should have callbacks. | José Valim | 2011-05-03 | 1 | -4/+4 | |
| | ||||||
* | Add `ActionController::ParamsWrapper` to wrap parameters into a nested hash | Prem Sichanugrist | 2011-05-03 | 1 | -0/+1 | |
| | | | This will allow us to do a rootless JSON/XML request to server. | |||||
* | Body... wanna *stream* my body? Body... such a thrill my body! | José Valim | 2011-04-18 | 1 | -0/+1 | |
| | | | | | Added stream as class level method to make it explicit when to stream. Render also accepts :stream as option. | |||||
* | Rename it to DataStreaming. | José Valim | 2011-04-18 | 1 | -1/+1 | |
| | ||||||
* | s/ERb/ERB/g | Akira Matsuda | 2011-04-03 | 1 | -2/+2 | |
| | | | | | The author of ERB sais, his eRuby implementation was originally named "ERb/ERbLight" and then renamed to "ERB" when started bundled as a Ruby standard lib. http://www2a.biglobe.ne.jp/~seki/ruby/erb.html | |||||
* | Add controller-specific `force_ssl` method to force web browser to use HTTPS ↵ | Prem Sichanugrist | 2011-03-28 | 1 | -0/+1 | |
| | | | | | | | | protocol This would become useful for site which sometime transferring sensitive information such as account information on particular controller or action. This featured was requested by DHH. | |||||
* | .erb => .html.erb | Akira Matsuda | 2010-12-25 | 1 | -1/+1 | |
| | ||||||
* | updated instructions on how to change the default session store | Diego Carrion | 2010-09-18 | 1 | -2/+2 | |
| | ||||||
* | updated instructions to generate the migration for the ActiveRecord session ↵ | Diego Carrion | 2010-09-18 | 1 | -1/+1 | |
| | | | | store table | |||||
* | Adding linkage to redirect_to from Base and adding status code option reference | Mikel Lindsaar | 2010-09-09 | 1 | -0/+2 | |
| | ||||||
* | Set only helpers_path on inherited hook in action_controller/railtie.rb and ↵ | Piotr Sarnacki | 2010-09-03 | 1 | -5/+0 | |
| | | | | use helper(:all) just after that | |||||
* | Moved ActionMailer and ActionController railties options to inherited hook | Piotr Sarnacki | 2010-09-03 | 1 | -5/+1 | |
| | | | | | | | | | | | This change is needed, because we must take namespace into account and if controller's/mailer's class is namespaced, engine's paths should be set instead of application's ones. The nice side effect of this is removing unneeded logic in ActionController::Base.inherited - now the helpers_path should be set correctly even for engine's controllers, so helper(:all) will always include correct helpers. | |||||
* | Include application's helpers and router helpers by default, but include ↵ | Piotr Sarnacki | 2010-09-03 | 1 | -2/+6 | |
| | | | | engine's ones for controllers inside isolated namespace | |||||
* | Remove deprecated support to <% form_for %> and several ↵ | José Valim | 2010-08-29 | 1 | -3/+1 | |
| | | | | ActionController::Base methods. | |||||
* | Be sure to call helper :all just on direct children. (Tests by Jesse Storimer) | José Valim | 2010-08-26 | 1 | -1/+1 | |
| | ||||||
* | Restored top-level documentation for ActionController::Base. | Joost Baaij | 2010-08-25 | 1 | -0/+163 | |
| | | | | | | | | | This information was lost in commit bd6b61be88dfe6eb1ff1dcc5c17542d804a842c7. This might have been intentional, but this class does represent the starting point for all things related to actions, and as such should document it. I couldn't find any trace of this documentation, which seems like a waste. Updated parts here and there to conform to current best practices. | |||||
* | Also move asset_path to AbstractController. | José Valim | 2010-07-24 | 1 | -1/+0 | |
| | ||||||
* | 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 | |||||
* | Moved PolymorphicRoutes to ActionDispatch::Routing | Piotr Sarnacki | 2010-07-20 | 1 | -1/+0 | |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | No need to create a new module in the previous commit. | José Valim | 2010-07-19 | 1 | -3/+1 | |
| | ||||||
* | Exceptions from views should be rescued based on the original exception. If ↵ | Neeraj Singh | 2010-07-19 | 1 | -2/+4 | |
| | | | | | | | | a handler for original exception is missing then apply ActiveView::TemplateError [#2034 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | Define a convention for descendants and subclasses. | José Valim | 2010-07-05 | 1 | -6/+0 | |
| | | | | | | The former should be symmetric with ancestors and include all children. However, it should not include self since ancestors + descendants should not have duplicated. The latter is symmetric to superclass in the sense it only includes direct children. By adopting a convention, we expect to have less conflict with other frameworks, as Datamapper. For this moment, to ensure ActiveModel::Validations can be used with Datamapper, we should always call ActiveSupport::DescendantsTracker.descendants(self) internally instead of self.descendants avoiding conflicts. | |||||
* | Move Rails::LogSubscriber to ActiveSupport::LogSubscriber, allowing ↵ | José Valim | 2010-06-24 | 1 | -0/+2 | |
| | | | | frameworks like ActiveRecord and ActiveResource to log outsude Rails::Application [#4816 state:resolved] |