title: confusion with params passing and routes
body: <p>I am having association 
  group has_many events</p>
  
  <p>I am having this method in show group view</p>
  
  <pre><code>= link_to 'Create Event', new_event_path(@group)
  </code></pre>
  
  <p>my new event method</p>
  
  <pre><code>  def new     
       @event = Event.new(city: current_user.profile.city, group_id: params[:id])
    end
  </code></pre>
  
  <p>It is showing unknown url
   localhost:3000/events/new.17</p>
  
  <p>also group_id: params[:id] is not working</p>
  
  <p>as i m new to ror please tell me reason 
  thanks in advance</p>