Displaying 1 result from an estimated 1 matches for "editrhtml".
Did you mean:
edit_html
2006 Jun 08
2
Errata in the "Four Days with Rails"
...t_stripes["done"] ==
1 ? show_image("done_ico.gif") : " " %>
The other way would be to change the type of the "Done" and "Private"
fields to be SmallInt so that the rest of the code works works fine.
[3] Finally, in the file app\views\items\editrhtml you will need to
change the line below:
-> <%=h @item.note.more_notes %>
Rails will complain that "note" is not an operation defined on the item
and will not be able to find the text for the note. I changed the
code to look up the database and fine the note usi...