||Rolling with Ruby on Rails, Part 2|
|Subject:||how to update date?|
I wrote edit.rhtml but I have problems
updating the date. I want to show the
stored year by <option value="<%=@recipe[date(3i)]%>" selected="selected"><%=@recipe[date(3i)]%></option>
however it "doesn't like" the (3i). When I write recipe.date it works but shows the entire date in one pull down. Can anybody help me?