diff options
author | Bogdan Gusiev <agresso@gmail.com> | 2013-09-23 14:25:42 +0300 |
---|---|---|
committer | Bogdan Gusiev <agresso@gmail.com> | 2013-09-23 14:25:42 +0300 |
commit | 57bf92c6de125adc45bb006115d22d07270618b3 (patch) | |
tree | 64c3ee73bfd5655877e94ff690cb2e6f0e13d6c8 /activesupport/Rakefile | |
parent | d58b720f596cf87bf44dbd86b8a573b081ef6268 (diff) | |
download | rails-57bf92c6de125adc45bb006115d22d07270618b3.tar.gz rails-57bf92c6de125adc45bb006115d22d07270618b3.tar.bz2 rails-57bf92c6de125adc45bb006115d22d07270618b3.zip |
Ability to pass block to AV#select helper
Example:
= select(report, "campaign_ids") do
- available_campaigns.each do |c|
%option{:data => {:tags => c.tags.to_json}, :value => c.id}= c.name
Diffstat (limited to 'activesupport/Rakefile')
0 files changed, 0 insertions, 0 deletions