Index: rails_plugins/templated_attribute/lib/templated_attribute_helper.rb =================================================================== --- rails_plugins/templated_attribute/lib/templated_attribute_helper.rb (revision 30) +++ rails_plugins/templated_attribute/lib/templated_attribute_helper.rb (revision 31) @@ -124,7 +124,8 @@ field_value = template_options[:value] end - # Only use javascript if not explicitly disabled in options + # Only use javascript if not explicitly disabled in options with + # :templated_javascript => false if options.delete(:templated_javascript) javascript_string = javascript_tag \ "Event.observe(window, 'load', function() { new TemplatedAttribute($('#{class_name}_#{method}'),