title: Using Ruby/Rails To Programmatically Post Form Data To Another Site
body: <p>I'm trying to figure out a way to automate posting data on this site which does not have an API and thankfully not a captcha as well.</p>
  
  <p>For example there is a form here => <a href="http://www.austinchronicle.com/gyrobase/EventSubmission" rel="nofollow">http://www.austinchronicle.com/gyrobase/EventSubmission</a></p>
  
  <p>By examining the form I can figure out that the Name text box is setup as follows......</p>
  
  <pre><code>&lt;input type="text" name="Name" id="EventName" value="" class="rejectPipe"&gt;
  </code></pre>
  
  <p>Using Ruby/Rails is there a way I can programmatically POST to the form on that page through the controller or in a rake task?</p>
  
  <p>I sniffed out some links like  => <a href="http://biodegradablegeek.com/2008/04/how-to-post-form-data-using-ruby/" rel="nofollow">http://biodegradablegeek.com/2008/04/how-to-post-form-data-using-ruby/</a> 
  and that seems to sort of explain the basic premise but what about inserting data into the time control or the drop down select boxes on another site? Or pretty much anything more complicated than inserting a string into an input box</p>