Displaying 2 results from an estimated 2 matches for "convert_boolean_attribut".
Did you mean:
convert_boolean_attributes
2008 Feb 12
0
button_to problem http://localhost:3000/art/151470;edi
...ke
http://localhost:3000/art/151470;edit instead of
http://localhost:3000/art/edit/151470
the path is not displaying problem, so i got the error , no route found.
in application_helper :
def button_to(name, options = {}, html_options = nil)
html_options = html_options.stringify_keys
convert_boolean_attributes!(html_options, %w( disabled ))
method_tag = ''''
if (method = html_options.delete(''method'')) && %w{put
delete}.include?(method.to_s)
method_tag = tag(''input'', :type => ''hidden'', :name => '...
2008 Jun 15
11
[PATCH] helper to create fb css stylized table
I attached a rails helper implementation of the fb_table described here:
http://wiki.developers.facebook.com/index.php/Facebook_Styles
I included testing and comments. I hope you find it useful.
Curiously, it''s really a small extension of FBML.
Richard
-------------- next part --------------
Index: test/rails_integration_test.rb