this does not work? @book.version.user_id = @current_user.id ? On Sat, Sep 11, 2010 at 8:23 PM, nobosh <[email protected]> wrote:
> Anyone using vestal_versions: > http://github.com/adamcooper/vestal_versions/ > > How do you set the user_id in the versions table? > > tried: > > in: > > def update > @book.version.user_id(@current_user.id) > and > @book.user_id(@current_user.id) > > both error > > thanks > > -- > 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 [email protected]. > To unsubscribe from this group, send email to > [email protected]<rubyonrails-talk%[email protected]> > . > 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 [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

