Displaying 1 result from an estimated 1 matches for "examscontroller".
2013 Mar 14
0
[Rails 3.2] accepts_nested_attributes_for and time_select
......
end
class Examdate < ActiveRecord::Base
belongs_to :exam
validates_presence_of :date, :from, :to # date + time fields
...
end
~~~
When I create a new exam, the following request is issued:
~~~
Started POST "/exams" for 127.0.0.1 at 2013-03-14 10:11:32 +0100
Processing by ExamsController#create as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"...",
"exam"=>{"title"=>"test", "number"=>"123", "examstype"=>"Oral exam",
"deadline
"=>&q...