i think rails must be use table's id colunm.

2010/4/22 Lee Smith <autige...@gmail.com>:
> params[:id] is the incoming article_id....the dynamic finder tells you
> that too.
>
> And again, the favorites table does not have an id column...the unique
> key is user-article.  That's why I didn't put an id column on the
> table.
>
> Maybe this is one of scenarios where you just don't fight
> conventions...
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Ruby on Rails: Talk" group.
> To post to this group, send email to rubyonrails-t...@googlegroups.com.
> To unsubscribe from this group, send email to 
> rubyonrails-talk+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/rubyonrails-talk?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-t...@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to