skip
Programming
Menu
Marketing
Sales
Resources
Programming
Tools
Shop
/
home
/
web-programming
/
rubyonrails
/
Rails Active Record
rails console
Post.create(title: "My first post", body: "This is my very first post!")
User.create(name: "Jack")
Post.update(2, user_id:2)