Displaying 2 results from an estimated 2 matches for "studentsurvey".
2005 Mar 10
0
Need Help with Flaky FastCGI on Windows
...the successful run last night:
--- Begin Log ---
Processing SurveyController#list (for 10.7.0.3 at Wed Mar 09 22:55:05
Eastern Standard Time 2005)
Parameters: {"action"=>"list", "controller"=>"survey",
"survey/list.html/list"=>nil}
StudentSurvey Count (0.000000) SELECT COUNT(*) FROM student_surveys
StudentSurvey Load (0.016000) SELECT * FROM student_surveys ORDER BY
last_name asc, first_name, created_at LIMIT 20 OFFSET 0
Rendering survey/list within layouts/survey
CcoachRanking Load (0.000000) SELECT * FROM ccoach_rankings WHERE id =...
2005 Feb 19
0
[Error] Using validates_presence_of for datetime field causes parse error?
...| auto_increment |
<snip>
| creation_date | datetime | | | 0000-00-00
00:00:00 | |
In my model, I have
validates_presence_of :creation_date
And the relevant portion of the unit testing ruby file is:
def setup
@student_survey = StudentSurvey.new
#<snip>
@student_survey.creation_date = DateTime.now
end
def test_create
@student_survey.save
end
When I run this unit test, I get:
1) Error:
test_create(StudentSurveyTest):
NoMethodError: private method `gsub!'' called for #<Date...