Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

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
    Shih-gian Lee commented at 2:25 AM

    Correction 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
    Shih-gian Lee commented at 3:04 PM

    However, when wrapping a form around a table, :disable_with works.

     <%= form_for(@product) do |f| %>
       <table>
          ...
          <div class="actions">
            <...
  • Shih-gian Lee
    Shih-gian Lee commented at 2:39 PM

    Confirmed 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
    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.