aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_view
Commit message (Collapse)AuthorAgeFilesLines
...
* Took first stab at reimplementing form_remote_tag helpersBob Remeika2010-01-271-24/+41
|
* Added assert_data_element_json test helper for data element helpersBob Remeika2010-01-271-4/+6
|
* Took another stab at observe_field. Now implementing data only helpers as ↵Bob Remeika2010-01-271-11/+41
| | | | script elements.
* Changed the observe field node into a div with display:noneBob Remeika2010-01-271-3/+8
|
* Implemented a fuller stub in AjaxTestCase for url_for because link_to calls ↵Bob Remeika2010-01-271-1/+1
| | | | url_for on all urls passed to it. Tests that were testing different input types for the url were failing because of this.
* Added the beginnings of the observe_field helperBob Remeika2010-01-271-1/+13
|
* Merge remote branch 'fxn/master'Jeremy Kemper2010-01-261-1/+0
|\
| * removes now void extending.rbXavier Noria2010-01-261-1/+0
| |
* | Fix t('.helper').José Valim2010-01-264-11/+20
|/
* Rename plugin_name to railtie_name and engine_name.José Valim2010-01-241-1/+1
|
* Add missing require for Object#try [#3771 state:resolved]Xavier Noria2010-01-221-0/+2
| | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Make @controller an internal ivar in the viewJoshua Peek2010-01-224-19/+17
|
* debug helper output should not be sanitizedJoshua Peek2010-01-161-2/+2
|
* Merge docrailsPratik Naik2010-01-173-5/+6
|
* In heterogeneous collections, neither the @path nor the @template are ↵José Valim2010-01-151-1/+1
| | | | available, so we need to tell that we are simply rendering a collection.
* Allow f.submit to be localized per object.José Valim2010-01-151-2/+14
|
* Remove URI object from ActiveResource notification, send the :mailer class ↵José Valim2010-01-151-4/+1
| | | | in AM (like in AP#process_action) and remove locale instrumentation.
* Template rendering should include layout time.José Valim2010-01-151-10/+10
|
* Move Dispatcher setup to Railties and add instrumentation hook.José Valim2010-01-152-1/+7
|
* Add documentation to f.submit and make scaffold generators use the new shortcut.José Valim2010-01-141-15/+34
|
* Custom 'type' attribute support for text_field. [#3646 status:resolved]Stephen Celis2010-01-141-1/+1
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Make check boxes accept :multiple as option so they can handle collections ↵José Valim2010-01-141-1/+6
| | | | (such as HABTM).
* Call :to_model before working with the object.José Valim2010-01-141-6/+11
|
* Add possibility to use i18n translatios in submit FormHelper.Carlos Antonio da Silva2010-01-142-11/+29
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Add subscriber for ActionPack and move all logging inside it.José Valim2010-01-133-2/+35
|
* Provide useful information when instrumenting partials.José Valim2010-01-111-8/+6
|
* Fixed that PrototypeHelper#update_page should return html_safe [DHH]David Heinemeier Hansson2010-01-081-1/+1
|
* Fixed that much of DateHelper wouldn't return html_safe? strings [DHH]David Heinemeier Hansson2010-01-081-5/+5
|
* From now on, parameters defined in default_url_options can be absent from ↵José Valim2010-01-071-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é Valim2010-01-071-3/+3
|
* Use helpers.label instead of views.labels.José Valim2010-01-073-3/+3
|
* errors in ActionView should not be namespaced as well.José Valim2010-01-072-9/+8
|
* Remove CGI.escape in function of Rack::Mount.escapeJosé Valim2010-01-061-4/+4
|
* NumberHelper#number_to_currency should output html_safe strings so the units ↵David Heinemeier Hansson2010-01-051-1/+1
| | | | are not escaped
* Autoload AS test caseJoshua Peek2010-01-041-2/+0
|
* Autoload AC and AV test case classesJoshua Peek2010-01-041-1/+0
|
* adding fix for auto linking to master tooZach Brock2010-01-051-1/+1
| | | | Signed-off-by: Michael Koziarski <michael@koziarski.com>
* Use underscore in notification namespaces.José Valim2010-01-042-4/+4
|
* Use namespaces in notifications.José Valim2010-01-032-5/+7
|
* Silence warningsMikel Lindsaar2010-01-021-0/+1
|
* Do not enforce human_attribute_name as required API.José Valim2010-01-021-3/+6
|
* I18n label helper [#745 status:resolved]Carsten Gehling2010-01-021-3/+36
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Make rendering in ActionView happen through _render_template, as the ↵José Valim2009-12-311-30/+14
| | | | rendering which comes from ActionController.
* Some railties cleanup:Carl Lerche2009-12-311-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.rbCarl Lerche2009-12-311-1/+2
|
* Add a /rails.rb for each framework for consistencyCarl Lerche2009-12-311-0/+1
|
* Silence some trivial warnings: shadowed local vars, indentation mismatchesJeremy Kemper2009-12-282-10/+6
|
* Remove ActionView inline logging to ActiveSupport::Notifications and create ↵José Valim2009-12-261-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é Valim2009-12-261-24/+20
|
* Optimize <%= render(@posts) %>.José Valim2009-12-261-4/+14
|