Rails 內如何操作 session? 2015-11-26 Ruby on Rails sessionsession[:current_user_id] = @user.id Older ❯如何讓 strong_parameter 接受 nested_attributes❮ Newerboard has_many posts, 新造物件宣告方式是: @post = @boards.posts.build 。那如果 book has_one :author,請問要怎麼宣告?