title: Getting url params into controller
body: <p>On my website I load a _form made by rails scaffold onto my page, which is under my home_controller.</p>
  <p>It only has one text input box for <em>name</em>, but the table im inputting this entry into also requires a bigint value, called course_id.</p>
  <p>I pass this course_id value into that page by passing it as a url param.</p>
  <p>then in my mod_controller i have <code>@mod.course_id = Course.find(params[:course_id]).id</code>
  in my def create function.</p>
  <p>any suggestions to help this would be appreciated.</p>