aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_view
Commit message (Collapse)AuthorAgeFilesLines
...
* 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-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
|