Tuesday, 6 December 2016

TO add user in table

@page = Page.new(page_params)
@page.user_id = current_user.id

@page.save

1 comment: