Article:
 |
|
Rolling with Ruby on Rails Revisited, Part 2
|
| Subject: |
|
recipe_controller.rb time changes not working. |
| Date: |
|
2008-01-11 12:33:12 |
| From: |
|
VillageIdiot
|
|
|
|
Greetings,
I am completely new to Ruby and Rails.
I have had a few problems getting through the tutorial so far (rolling back from InstantRails 2.0 to 1.7 solved most of my issues).
Currently I am on page two where we are adding the line @recipe.date = Time.now.
Even after making thos changes and restarting mongrel, I cannot get the date option to go away.
The category selection option changes work flawlessly, but I can't make the date selection go away as described in your article. I made the edits and that did not work, so I also tried copying and pasting the entire file as it was posted below for someone else's end statement issue.
This newbie would greatly appreciate some help!
|
Showing messages 1 through 6 of 6.
-
recipe_controller.rb time changes not working.
2008-01-28 00:08:07
panot
[View]
-
recipe_controller.rb time changes not working.
2008-01-28 00:06:43
panot
[View]
-
recipe_controller.rb time changes not working.
2008-01-28 00:04:08
panot
[View]
-
recipe_controller.rb time changes not working.
2008-01-11 15:55:00
VillageIdiot
[View]
-
recipe_controller.rb time changes not working.
2008-01-11 12:47:42
VillageIdiot
[View]
-
recipe_controller.rb time changes not working.
2008-01-11 12:33:53
VillageIdiot
[View]
<label for="recipe_date">Date</label><br/>
<%= datetime_select 'recipe', 'date' %>