aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_view/helpers
Commit message (Collapse)AuthorAgeFilesLines
* make observers a little more dryStephen St. Martin2010-01-271-2/+1
|
* fix failing tests from fork/mergeStephen St. Martin2010-01-271-3/+4
|
* cleanup some spacingStephen St. Martin2010-01-271-76/+75
|
* extract_remote_attributes should be a private methodStephen St. Martin2010-01-271-10/+10
|
* Added observe_formBob Remeika2010-01-271-0/+8
|
* Added submit_to_remote helperBob Remeika2010-01-271-0/+10
|
* Removed duplicationBob Remeika2010-01-271-8/+8
|
* Changed data-name to data-observed on observe_fieldBob Remeika2010-01-271-11/+19
|
* Refactored ajax helpers so they use a little bit more coherent pattern; ↵Bob Remeika2010-01-271-70/+70
| | | | Removed code duplication from form_remote_tag
* Applied Yehuda's patch; Sharing extract_object_name_for_form! between ↵Bob Remeika2010-01-271-23/+27
| | | | form_helper and ajax_helper; Added script_decorator helper
* Changed observe_field to field_observerBob Remeika2010-01-271-1/+1
|
* Changed data-rails-type to data-js-typeBob Remeika2010-01-271-1/+1
|
* Changed data-remote='true' to data-js-type='remote'Bob Remeika2010-01-271-1/+1
|
* Took first stab at reimplementing form_remote_tag helpersBob Remeika2010-01-271-96/+26
|
* 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-0/+6
| | | | 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-11/+8
|
* Added observe_formBob Remeika2010-01-271-0/+8
|
* Added submit_to_remote helperBob Remeika2010-01-271-0/+10
|
* Removed duplicationBob Remeika2010-01-271-8/+8
|
* Changed data-name to data-observed on observe_fieldBob Remeika2010-01-271-11/+19
|
* Refactored ajax helpers so they use a little bit more coherent pattern; ↵Bob Remeika2010-01-271-56/+78
| | | | Removed code duplication from form_remote_tag
* Applied Yehuda's patch; Sharing extract_object_name_for_form! between ↵Bob Remeika2010-01-272-40/+48
| | | | form_helper and ajax_helper; Added script_decorator helper
* Changed observe_field to field_observerBob Remeika2010-01-271-1/+1
|
* Changed data-rails-type to data-js-typeBob Remeika2010-01-271-1/+1
|
* Changed data-remote='true' to data-js-type='remote'Bob Remeika2010-01-271-1/+1
|
* 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-261-2/+6
|/
* Make @controller an internal ivar in the viewJoshua Peek2010-01-223-11/+11
|
* debug helper output should not be sanitizedJoshua Peek2010-01-161-2/+2
|
* Merge docrailsPratik Naik2010-01-173-5/+6
|
* Allow f.submit to be localized per object.José Valim2010-01-151-2/+14
|
* Move Dispatcher setup to Railties and add instrumentation hook.José Valim2010-01-151-1/+1
|
* 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-141-3/+14
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* 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.