title: Remove blank element from array
body: <p>When I'm saving multiple select from a ruby on rails form it appears to be adding a blank element at the front. How do I remove it? The field is selected_player.</p>
  
  <pre><code>{"utf8"=&gt;"✓",
   "authenticity_token"=&gt;"H8W7qPBezubyeU0adnTGZ4oJqYErin1QNz5oK0QV6WY=",
   "schedule"=&gt;{"event"=&gt;"1",
   "result_id"=&gt;"",
   "time"=&gt;"26/10/2012",
   "duration"=&gt;"15",
   "arrival_time"=&gt;"14",
   "location_id"=&gt;"25",
   "selected_players"=&gt;["", "38", "41"],
   "team_id"=&gt;"1",
   "opponent_id"=&gt;"7",
   "home_or_away"=&gt;"Home"},
   "commit"=&gt;"Save Event"}
  </code></pre>
  
  <p>controller</p>
  
  <pre><code>def update
    @schedule = Schedule.find(params[:id])
    @user = User.find(current_user)
    @players = User.where(:team_id =&gt; current_user[:team_id]).all
  
    respond_to do |format|
      if @schedule.update_attributes(params[:schedule])
        Notifier.event_added(@user,@schedule).deliver
        format.html { redirect_to(@schedule,
                                  :notice =&gt; "#{event_display_c(@schedule.event)} vs #{@schedule.opponent.name} was successfully updated.") }
        format.json { head :no_content }
      else
        format.html { render :action =&gt; "edit" }
        format.json { render :json =&gt; @schedule.errors, :status =&gt; :unprocessable_entity }
      end
    end
  end
  </code></pre>