- 追加された行はこの色です。
- 削除された行はこの色です。
&pgid;
** Ruby on Rails勉強会一覧 [#dd041670]
#ls2(Ruby on Rails)
** 第8回勉強会のネタ [#jeadb044]
ネタもとは下記です。
-ActionView::Helpers
http://railsapi.masuidrive.jp/module/ActionView%3A%3AHelpers
** 日時 [#g4f8ac7b]
- 2006/01/05(金)
** 参加者 [#u5cc1f6d]
** 動画 [#g3db69c1]
** Module ActionView::Helpers::ActiveRecordHelper [#ze31361b]
http://okra.ark-web.jp/~shida/sandbox/helpers/active_record_helper/index
ALL: <%= error_messages_for "example" %>
<hr>
<%= error_message_on "example", "column1" %>
<hr>
<%= form "example" %>
<hr>
<%= input "example", "column1" %>
-error_messages_for
-error_message_on
-form
-input
** Module ActionView::Helpers::AssetTagHelper [#ga0ec618]
http://okra.ark-web.jp/~shida/sandbox/helpers/helpers/asset_tag_helper
<%= auto_discovery_link_tag "aaa" %>
<hr>
<%= image_path "aaa" %>
<hr>
<%= image_tag "aaa" %>
<hr>
<%= javascript_include_tag "aaa" %>
<hr>
<%= javascript_path "aaa" %>
<hr>
<%= stylesheet_link_tag "aaa" %>
<hr>
<%= stylesheet_path "aaa" %>
<hr>
-auto_discovery_link_tag
-image_path
-image_tag
-javascript_include_tag
-javascript_path
-stylesheet_link_tag
-stylesheet_path
** Module ActionView::Helpers::BenchmarkHelper [#gf9ebe60]
http://okra.ark-web.jp/~shida/sandbox/helpers/helpers/benchmark_helper
<% benchmark "aaa" do %>
<% HelperExample.benchmark_example %>
<% end %>
-benchmark
与えられたブロックを実行してかかった時間をlogに書き込み。
**Module ActionView::Helpers::CaptureHelper [#t73f2d4c]
http://okra.ark-web.jp/~shida/sandbox/helpers/helpers/capture_helper
<% @example = capture do %>
<%= HelperExample.capture_example %>
<% end %>
aaa <%= @example -%> bbb
-capture
-content_for
与えられたブロックを実行して出力された内容を変数にセットする。