Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | debug helper output should not be sanitized | Joshua Peek | 2010-01-16 | 1 | -2/+2 |
| | |||||
* | Merge docrails | Pratik Naik | 2010-01-17 | 3 | -5/+6 |
| | |||||
* | In heterogeneous collections, neither the @path nor the @template are ↵ | José Valim | 2010-01-15 | 1 | -1/+1 |
| | | | | available, so we need to tell that we are simply rendering a collection. | ||||
* | Allow f.submit to be localized per object. | José Valim | 2010-01-15 | 1 | -2/+14 |
| | |||||
* | Remove URI object from ActiveResource notification, send the :mailer class ↵ | José Valim | 2010-01-15 | 1 | -4/+1 |
| | | | | in AM (like in AP#process_action) and remove locale instrumentation. | ||||
* | Template rendering should include layout time. | José Valim | 2010-01-15 | 1 | -10/+10 |
| | |||||
* | Move Dispatcher setup to Railties and add instrumentation hook. | José Valim | 2010-01-15 | 2 | -1/+7 |
| | |||||
* | Add documentation to f.submit and make scaffold generators use the new shortcut. | José Valim | 2010-01-14 | 1 | -15/+34 |
| | |||||
* | Custom 'type' attribute support for text_field. [#3646 status:resolved] | Stephen Celis | 2010-01-14 | 1 | -1/+1 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Make check boxes accept :multiple as option so they can handle collections ↵ | José Valim | 2010-01-14 | 1 | -1/+6 |
| | | | | (such as HABTM). | ||||
* | Call :to_model before working with the object. | José Valim | 2010-01-14 | 1 | -6/+11 |
| | |||||
* | Add possibility to use i18n translatios in submit FormHelper. | Carlos Antonio da Silva | 2010-01-14 | 2 | -11/+29 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Add subscriber for ActionPack and move all logging inside it. | José Valim | 2010-01-13 | 3 | -2/+35 |
| | |||||
* | Provide useful information when instrumenting partials. | José Valim | 2010-01-11 | 1 | -8/+6 |
| | |||||
* | Fixed that PrototypeHelper#update_page should return html_safe [DHH] | David Heinemeier Hansson | 2010-01-08 | 1 | -1/+1 |
| | |||||
* | Fixed that much of DateHelper wouldn't return html_safe? strings [DHH] | David Heinemeier Hansson | 2010-01-08 | 1 | -5/+5 |
| | |||||
* | From now on, parameters defined in default_url_options can be absent from ↵ | José Valim | 2010-01-07 | 1 | -0/+5 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | named routes. This allows the following setup to work: # app/controllers/application_controller.rb class ApplicationController def default_url_options(options=nil) { :locale => I18n.locale } end end # From your views and controllers: I18n.locale #=> :en users_url #=> "/en/users" users_url(:pl) #=> "/pl/users" user_url(1) #=> "/en/users/1" user_url(:pl, 1) #=> "/pl/users/1" user_url(1, :locale => :pl) #=> "/pl/users/1" If you provide all expected parameters, it still works as previously. But if any parameter is missing, it tries to assign all possible ones with the hash returned in default_url_options or the one passed straight to the named route method. Beware that default_url_options in ApplicationController is not shared with ActionMailer, so you are required to always give the locale in your email views. | ||||
* | Updated the documentation for helpers.label. | José Valim | 2010-01-07 | 1 | -3/+3 |
| | |||||
* | Use helpers.label instead of views.labels. | José Valim | 2010-01-07 | 3 | -3/+3 |
| | |||||
* | errors in ActionView should not be namespaced as well. | José Valim | 2010-01-07 | 2 | -9/+8 |
| | |||||
* | Remove CGI.escape in function of Rack::Mount.escape | José Valim | 2010-01-06 | 1 | -4/+4 |
| | |||||
* | NumberHelper#number_to_currency should output html_safe strings so the units ↵ | David Heinemeier Hansson | 2010-01-05 | 1 | -1/+1 |
| | | | | are not escaped | ||||
* | Autoload AS test case | Joshua Peek | 2010-01-04 | 1 | -2/+0 |
| | |||||
* | Autoload AC and AV test case classes | Joshua Peek | 2010-01-04 | 1 | -1/+0 |
| | |||||
* | adding fix for auto linking to master too | Zach Brock | 2010-01-05 | 1 | -1/+1 |
| | | | | Signed-off-by: Michael Koziarski <michael@koziarski.com> | ||||
* | Use underscore in notification namespaces. | José Valim | 2010-01-04 | 2 | -4/+4 |
| | |||||
* | Use namespaces in notifications. | José Valim | 2010-01-03 | 2 | -5/+7 |
| | |||||
* | Silence warnings | Mikel Lindsaar | 2010-01-02 | 1 | -0/+1 |
| | |||||
* | Do not enforce human_attribute_name as required API. | José Valim | 2010-01-02 | 1 | -3/+6 |
| | |||||
* | I18n label helper [#745 status:resolved] | Carsten Gehling | 2010-01-02 | 1 | -3/+36 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Make rendering in ActionView happen through _render_template, as the ↵ | José Valim | 2009-12-31 | 1 | -30/+14 |
| | | | | rendering which comes from ActionController. | ||||
* | Some railties cleanup: | Carl Lerche | 2009-12-31 | 1 | -0/+0 |
| | | | | | | * Rename <framework>/rails.rb -> <framework>/railtie.rb * Rails::Plugin -> Rails::Railtie * Rails::Plugin::Vendored -> Rails::Plugin | ||||
* | Rename rails.rb -> rails/all.rb and rails/core.rb -> rails.rb | Carl Lerche | 2009-12-31 | 1 | -1/+2 |
| | |||||
* | Add a /rails.rb for each framework for consistency | Carl Lerche | 2009-12-31 | 1 | -0/+1 |
| | |||||
* | Silence some trivial warnings: shadowed local vars, indentation mismatches | Jeremy Kemper | 2009-12-28 | 2 | -10/+6 |
| | |||||
* | Remove ActionView inline logging to ActiveSupport::Notifications and create ↵ | José Valim | 2009-12-26 | 1 | -8/+1 |
| | | | | ActionController::Base#log_event, so everything can be logged within one listener. Also expose log_process_action as a hook for different modules to include their own information during the action processing. This allow ActiveRecord to hook and any other ORM. Finally, this commit changes 'Processing' and 'Rendering' in logs to 'Processed' and 'Rendered' because at the point it's logged, everying already happened. | ||||
* | More <%= render(@posts) %> optimization. | José Valim | 2009-12-26 | 1 | -24/+20 |
| | |||||
* | Optimize <%= render(@posts) %>. | José Valim | 2009-12-26 | 1 | -4/+14 |
| | |||||
* | Break instrumentation into several end-points so rendering of partials can ↵ | José Valim | 2009-12-26 | 3 | -30/+42 |
| | | | | be optimized. | ||||
* | Wrap layout rendering in one method: _render_layout (this should make ↵ | José Valim | 2009-12-26 | 2 | -7/+7 |
| | | | | partial instrumentation easier). | ||||
* | Instead of marking raw text in templates as safe, and then putting them ↵ | Yehuda Katz | 2009-12-24 | 1 | -1/+2 |
| | | | | through String#<< which checks if the String is safe, use safe_concat, which uses the original (internal) String#<< and leaves the safe flag as is. Results in a significant performance improvement. | ||||
* | Dead code | Yehuda Katz | 2009-12-24 | 1 | -15/+0 |
| | |||||
* | Translated strings in the view are assumed html_safe (Closes #3401) | David Heinemeier Hansson | 2009-12-24 | 1 | -1/+1 |
| | |||||
* | Stray carrier return | David Heinemeier Hansson | 2009-12-24 | 1 | -1/+0 |
| | |||||
* | Flip deferrable autoload convention | Joshua Peek | 2009-12-22 | 1 | -6/+8 |
| | |||||
* | All AD modules are "deferrable" | Joshua Peek | 2009-12-22 | 1 | -0/+1 |
| | |||||
* | Dont introspect inline templates for the logger and cleanup a few styling issues | David Heinemeier Hansson | 2009-12-21 | 1 | -13/+9 |
| | |||||
* | TestProcess belongs in AD | Joshua Peek | 2009-12-12 | 1 | -2/+1 |
| | |||||
* | Add autoloads for ActionView::Template* classes, and an ↵ | Nathan Weizenbaum | 2009-12-10 | 1 | -1/+3 |
| | | | | | | ActionView::TemplateError alias for ActionView::Template::Error. Signed-off-by: Yehuda Katz <wycats@Yehuda-Katz.local> | ||||
* | Reorganize autoloads: | Carlhuda | 2009-12-02 | 12 | -193/+211 |
| | | | | | | | | | | | | | | | | | | | | | * A new module (ActiveSupport::Autoload) is provide that extends autoloading with new behavior. * All autoloads in modules that have extended ActiveSupport::Autoload will be eagerly required in threadsafe environments * Autoloads can optionally leave off the path if the path is the same as full_constant_name.underscore * It is possible to specify that a group of autoloads live under an additional path. For instance, all of ActionDispatch's middlewares are ActionDispatch::MiddlewareName, but they live under "action_dispatch/middlewares/middleware_name" * It is possible to specify that a group of autoloads are all found at the same path. For instance, a number of exceptions might all be declared there. * One consequence of this is that testing-related constants are not autoloaded. To get the testing helpers for a given component, require "component_name/test_case". For instance, "action_controller/test_case". * test_help.rb, which is automatically required by a Rails application's test helper, requires the test_case.rb for all active components, so this change will not be disruptive in existing or new applications. |