aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/template
Commit message (Collapse)AuthorAgeFilesLines
...
* Remove more warnings shadowing outer local variable.Emilio Tagua2010-09-271-1/+1
| | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* Remove more warnings shadowing outer local variable.Emilio Tagua2010-09-271-1/+1
|
* Use parentheses when using assert_match followed by a regexp to avoid warnings.Emilio Tagua2010-09-275-16/+16
|
* Remove last tests with deprecated form_for and cleanup form_for helperCarlos Antonio da Silva2010-09-261-63/+49
| | | | | | | This cleans up the last bits of deprecation stuff from form_for helper. However there is still a bug when using :as => foo[], with index. The classes and ids are being generated using [], such as foo[]_edit. This bug already existed but it was not detected before.
* Select tags with array options are deprecated, removingCarlos Antonio da Silva2010-09-261-6/+0
|
* Review most of the form_for deprecated tests, missing tests with index like []Carlos Antonio da Silva2010-09-261-405/+321
|
* Remove duplicate helper methodKrekoten' Marjan2010-09-251-3/+0
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* These tests shouldn't depend on local time to pass or fail, we can use utc here.Emilio Tagua2010-09-242-2/+2
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* file_field propagates up multipart property even inside of fields_forSantiago Pastorino2010-09-201-0/+21
|
* application.js should be the last file on javascript_include_tag(:all)Santiago Pastorino2010-09-191-8/+8
|
* argument error is done for usAaron Patterson2010-09-181-0/+6
|
* file_field makes the enclosing form multipartSantiago Pastorino2010-09-181-0/+18
|
* Allow view helper's #initialize method to be called. [#5061 state:resolved]Carl Lerche2010-09-131-0/+13
|
* Start cleanup of deprecations in ActionViewCarlos Antonio da Silva2010-09-061-8/+0
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Merge remote branch 'drogus/remove_deprecated_routes'José Valim2010-09-054-7/+6
|\ | | | | | | This merge removes the deprecated routes mapper from Rails and update its tests.
| * Removed deprecated RouteSet API, still many tests failPiotr Sarnacki2010-09-054-7/+6
| |
* | Make number_to_human and number_with_precision work with negativesSantiago Pastorino2010-09-051-0/+2
| |
* | Fix indentation errorsSantiago Pastorino2010-09-051-47/+47
| |
* | Fix number_to_human(0) exception [#5532 state:resolved]Ben Sharpe2010-09-051-0/+1
|/ | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* Remove namespace for isolated namespaced models in formsPiotr Sarnacki2010-09-031-0/+17
|
* Added ability to set asset_path for enginesPiotr Sarnacki2010-09-031-0/+23
|
* Extended url_for to handle specifying which router should be used.Piotr Sarnacki2010-09-032-51/+41
| | | | | | | A few examples: url_for Blog::Engine, :posts_path url_for Blog::Engine, @post url_for Blog::Engine, :action => "main", :controller => "index"
* Removing unnecessary code from render_testThiago Pradi2010-09-021-2/+0
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Removing unnecessary codeThiago Pradi2010-09-021-7/+0
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Added :format option for form_for helper and spec for this [#5226 ↵Alex Chrome2010-09-011-2/+18
| | | | | | state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* Remove NonConcattingString.José Valim2010-08-291-2/+0
|
* Remove deprecated support to <% form_for %> and several ↵José Valim2010-08-292-43/+10
| | | | ActionController::Base methods.
* password_field renders with nil value by defaultSantiago Pastorino2010-08-281-1/+4
| | | | | | | | This makes the use of passwords secure by default if you want to render the value of the password_field you have to do for instance f.password_field(:password, :value => @user.password) # => <input type=password id=user_password name=user[password] value=#{@user.password} />
* Make InstanceTagMethods#value_before_type_cast raise if the model don't ↵Santiago Pastorino2010-08-271-0/+13
| | | | | | respond to attr_before_type_cast or attr method [#3374] [#5471 state:committed]
* Move encoding settings for testing purposes to abstract_unit fileSantiago Pastorino2010-08-211-8/+1
|
* Revert "It's snowing!"wycats2010-08-182-2/+2
| | | | This reverts commit e4283007d607454acf97301821ba1e1c417bdead.
* code gardening: we have assert_(nil|blank|present), more concise, with ↵Xavier Noria2010-08-171-1/+1
| | | | better default failure messages - let's use them
* select tags coerce the :selected option, options to strings before ↵Subba Rao Pasupuleti2010-08-151-0/+62
| | | | | | comparison [#5056 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* Making time_zone_options_for_select return a html_safe stringMikel Lindsaar2010-08-151-0/+4
| | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* Deletes trailing whitespaces (over text files only find * -type f -exec sed ↵Santiago Pastorino2010-08-1416-104/+104
| | | | 's/[ \t]*$//' -i {} \;)
* It's snowing!Jeremy Kemper2010-08-122-2/+2
|
* Replace snowman with utf8=✓wycats2010-08-112-2/+2
|
* layout_for works again with objects as specified in the documentation and ↵José Valim & Carlos Antonio da Silva2010-08-111-0/+5
| | | | Rails 2.3 [#5357 state:resolved]
* rename _snowman to _ewycats2010-08-092-2/+2
|
* Fix label form helper to use I18n and html options, without the need of ↵Carlos Antonio da Silva2010-08-011-2/+9
| | | | | | | | | | | 'nil' text param: Before: f.label :title, nil, :class => 'title' After : f.label :title, :class => 'title' [#5267 state:committed] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* Makes form_helper use overriden model accessorsSantiago Pastorino2010-08-011-0/+17
| | | | [#3374 state:committed]
* link_to_function now expects a piece of javascript code for the onclick ↵Rodrigo Dominguez2010-07-291-4/+5
| | | | | | | | parameter [#5179] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* Removed deprecated APIs in text and number helpers [#5156 state:resolved]Łukasz Strzałkowski2010-07-261-27/+0
| | | | | | They're deprecated since 2008. It's time to get rid of them. Signed-off-by: José Valim <jose.valim@gmail.com>
* Add assertion to link_to_function test with block and capture, and more ↵Carlos Antonio da Silva2010-07-251-5/+4
| | | | | | expressive test name [#5179 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* Change returning with tapSantiago Pastorino2010-07-251-1/+1
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Fixed output_buffer encoding problem [#5179]Sebastian A. Espindola2010-07-251-0/+9
| | | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> Signed-off-by: José Valim <jose.valim@gmail.com>
* These tests are trusting in the order of the elements so use OrderedHash ↵Santiago Pastorino2010-07-211-13/+9
| | | | instead of Hash
* remote_function patch with more detailed testAndrew Kaspick2010-07-211-0/+6
| | | | Signed-off-by: wycats <wycats@gmail.com>
* select :include_blank or :prompt should return escaped string [#5099 ↵Ivan Torres2010-07-181-0/+23
| | | | | | state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* remove size attribute from tag generated by file_field helper [#5084 ↵Miles Egan2010-07-131-0/+5
| | | | | | state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>