Shih-gian Lee
Not a member
Shih-gian Lee's latest activity
Sunday, May 30 2010
4723
:disable_with option doesn't work inside a <table> tag
was updated
in Ruby on Rails
-
Shih-gian Lee commented at 2:25 AMCorrection on my previous example. I got lazy and didn't construct a well-formed html in my example. The form works in a table tag:
<table> <tr> <td> ...
Saturday, May 29 2010
4723
:disable_with option doesn't work inside a <table> tag
was updated
in Ruby on Rails
-
Shih-gian Lee commented at 3:04 PMHowever, when wrapping a form around a table, :disable_with works.
<%= form_for(@product) do |f| %> <table> ... <div class="actions"> <... -
Shih-gian Lee commented at 2:39 PMConfirmed that when wrapping a table tag around a form, :disable_with does not work.
<table> <%= form_for(@product) do |f| %> ... <div class="actions"> ...
Thursday, May 27 2010
4631
Rails::Generators::GeneratedAttribute: tests, cleanups and a bugfix
was updated
in Ruby on Rails
-
Shih-gian Lee commented at 4:11 PM+1 for me too on 1.8.7. Agree with Rohit. Like the code refactoring to make it more DRY.