aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_view
Commit message (Collapse)AuthorAgeFilesLines
* Removing RJS hackThiago Pradi2010-09-022-6/+1
| | | | 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-1/+9
| | | | | | state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* Remove unnecessary code from UrlHelper#link_to.yury2010-09-011-7/+2
| | | | | | convert_options_to_data_attributes always returns not nil stringified html_options [#5445 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* Merge remote branch 'docrails/master'Xavier Noria2010-09-011-2/+3
|\
| * Fix API docs for button_to optionsJaime Iniesta2010-08-311-2/+3
| |
* | Speed up form_for by specializing extract_options! (at asakusa.rb)wycats2010-08-311-6/+8
| |
* | Speed up content_tag_for by simplifying needed logicwycats2010-08-311-3/+3
|/
* Remove NonConcattingString.José Valim2010-08-292-4/+1
|
* Remove deprecated support to <% form_for %> and several ↵José Valim2010-08-291-15/+0
| | | | ActionController::Base methods.
* password_field renders with nil value by defaultSantiago Pastorino2010-08-281-5/+5
| | | | | | | | 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} />
* type="password" for password_fieldsSantiago Pastorino2010-08-281-4/+4
|
* Merge remote branch 'docrails/master'Xavier Noria2010-08-281-1/+1
|\
| * Prevent any warnings from being printed during RDoc generationJoost Baaij2010-08-261-1/+1
| |
| * Fix capture_helper.rb api documentation, unescaped script tag was breaking ↵Jaime Iniesta2010-08-261-1/+1
| | | | | | | | it on the content_for explanation
* | Add missing require.José Valim2010-08-271-1/+2
| |
* | Make InstanceTagMethods#value_before_type_cast raise if the model don't ↵Santiago Pastorino2010-08-271-3/+8
| | | | | | | | | | | | respond to attr_before_type_cast or attr method [#3374] [#5471 state:committed]
* | Removing some unuseful begin/end and refactor prompt_option_tag a bitCarlos Antonio da Silva2010-08-271-16/+11
| | | | | | | | | | | | [#5469 state:committed] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* | Doh, be sure to store the string modification.José Valim2010-08-261-3/+2
| |
* | Do not modify frozen strings in place.José Valim2010-08-261-1/+1
| |
* | Ensure templates like template.html are found but still uses the proper ↵José Valim2010-08-261-3/+4
| | | | | | | | virtual path.
* | Fix capture_helper.rb api documentation, unescaped script tag was breaking ↵Jaime Iniesta2010-08-261-1/+1
|/ | | | it on the content_for explanation
* Restore consistency with the rest of the doc.Rémy Coutable2010-08-251-2/+2
|
* Fixed a missing simple quote.Rémy Coutable2010-08-251-1/+1
|
* Revert "It's snowing!"wycats2010-08-181-1/+1
| | | | This reverts commit e4283007d607454acf97301821ba1e1c417bdead.
* select tags coerce the :selected option, options to strings before ↵Subba Rao Pasupuleti2010-08-151-9/+12
| | | | | | 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-1/+1
| | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* Deletes trailing whitespaces (over text files only find * -type f -exec sed ↵Santiago Pastorino2010-08-1413-37/+37
| | | | 's/[ \t]*$//' -i {} \;)
* removing a lolinjectAaron Patterson2010-08-141-2/+2
|
* It's snowing!Jeremy Kemper2010-08-141-1/+1
|
* in Rendering objects with RecordIdentifier example, locals should reference ↵Mark Hayes2010-08-121-1/+1
| | | | @account not @buyer
* Replace snowman with utf8=✓wycats2010-08-111-1/+1
|
* layout_for works again with objects as specified in the documentation and ↵José Valim & Carlos Antonio da Silva2010-08-111-4/+8
| | | | Rails 2.3 [#5357 state:resolved]
* rename _snowman to _ewycats2010-08-091-1/+1
|
* adds missing requires for Object#tryXavier Noria2010-08-091-0/+1
|
* Concernify SanitizeHelper and TextHelper so including TextHelper correctly ↵wycats2010-08-042-0/+4
| | | | include SanitizeHelper and extends its ClassMethods
* Fix label form helper to use I18n and html options, without the need of ↵Carlos Antonio da Silva2010-08-011-3/+4
| | | | | | | | | | | '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-3/+3
| | | | [#3374 state:committed]
* Removed deprecated APIs in text and number helpers [#5156 state:resolved]Łukasz Strzałkowski2010-07-262-64/+5
| | | | | | They're deprecated since 2008. It's time to get rid of them. Signed-off-by: José Valim <jose.valim@gmail.com>
* Merge remote branch 'docrails/master'Xavier Noria2010-07-261-1/+1
|\
| * update remote_function docs referencing link_to_remoteAndrew Kaspick2010-07-221-1/+1
| |
* | Change returning with tapSantiago Pastorino2010-07-251-2/+1
| | | | | | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* | Fixed output_buffer encoding problem [#5179]Sebastian A. Espindola2010-07-251-1/+1
| | | | | | | | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> Signed-off-by: José Valim <jose.valim@gmail.com>
* | options could be of any kind of Hash (Hash, HashWithIndifferentAccess or ↵Santiago Pastorino2010-07-211-1/+1
|/ | | | OrderedHash) this way we keep the properties of the options passed as an argument
* doc: form_for does return output rather than merely evaluate its blockWincent Colaiuta2010-07-221-4/+0
|
* remote_function patch with more detailed testAndrew Kaspick2010-07-211-1/+1
| | | | Signed-off-by: wycats <wycats@gmail.com>
* Use capture instead of yield in link_to_unless.José Valim2010-07-211-1/+1
| | | | [#5162 state:resolved]
* No need to delegate. Simply include the whole RecordIdentifier module.José Valim2010-07-213-25/+4
|
* Moved a few methods from RecordIdentifier to ActiveModel::NamingPiotr Sarnacki2010-07-211-5/+5
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Moved PolymorphicRoutes to ActionDispatch::RoutingPiotr Sarnacki2010-07-202-2/+2
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* select :include_blank or :prompt should return escaped string [#5099 ↵Ivan Torres2010-07-181-3/+3
| | | | | | state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>