allenchen / research-cs194

Automatically exported from code.google.com/p/research-cs194
1 stars 0 forks source link

RuntimeError in Jobs#goapply #71

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Happens whenever you click Apply on a job.

Called id for nil, which would mistakenly be 4 -- if you really wanted the id 
of nil, use object_id
Extracted source (around line #5):

2: 
3: <h1>Apply for Research Position</h1>
4: 
5: <% form_for(@applic, :url=>{:controller=>:jobs, :action=>:apply, 
:id=>params[:id]} ) do |f| -%>
6:   <table class="job_clear_table">
7:    <tr>
8:      <td class="job_clear_table_label">Job title</td>

Original issue reported on code.google.com by oblasb...@gmail.com on 18 Jan 2011 at 1:13

GoogleCodeExporter commented 9 years ago
NOTE: This is easy to fix, probably, because it is just an oversight associated 
with moving the applying logic from the job controller to the applic 
controller.  

Original comment by oblasb...@gmail.com on 18 Jan 2011 at 1:20

GoogleCodeExporter commented 9 years ago
Fixed in r443

Original comment by oblasb...@gmail.com on 18 Jan 2011 at 1:32

GoogleCodeExporter commented 9 years ago

Original comment by oblasb...@gmail.com on 18 Jan 2011 at 3:02