Complete the code to order users by their creation date in ascending order.
User.[1](:created_at)The order method sorts records by the given column.
Complete the code to limit the number of posts returned to 5.
Post.[1](5)
The limit method restricts the number of records returned.
Fix the error in the code to order products by price descending.
Product.order(price: :[1])Use :desc to order descending in Rails.
Fill both blanks to order comments by updated_at descending and limit to 10.
Comment.[1](updated_at: :[2]).limit(10)
Use order with :desc to sort descending, then limit to restrict count.
Fill all three blanks to order articles by published_at ascending, limit to 3, and select only title and author.
Article.[1](published_at: :[2]).[3](3).select(:title, :author)
Use order with :asc for ascending order, then limit to restrict results.
