On Jul 25, 11:01 pm, Anand Ramanathan <
rcan...@gmail.com> wrote:
> When I run this, I notice that (what seems miraculously), the app fills in
> the id while calling this route like:
>
> posts/12/some_action
>
> and even more surprisingly 12 is the id of the current post in my context.
>
> My question is: without my specifying the id anywhere, how could rails know
> the id - is it reading my mind? Or maybe I am missing how form_tag works (I
> assumed that it requires the id to be passed in explicitly to work).