Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
  • This project
    • Loading...
  • Sign in / Register
T
ThaiMinhPhuc_training
  • Overview
    • Overview
    • Details
    • Activity
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
  • Issues 0
    • Issues 0
    • List
    • Board
    • Labels
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Charts
  • Wiki
    • Wiki
  • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • phuctmZigexn
  • ThaiMinhPhuc_training
  • Merge Requests
  • !15

Merged
Opened Aug 15, 2018 by phuctmZigexn@phuctm 
  • Report abuse
Report abuse

User microposts

  • Discussion 1
  • Commits 5
  • Changes 50
{{ resolvedDiscussionCount }}/{{ discussionCount }} {{ resolvedCountText }} resolved
  • Ba Toi Dang
    @toidb started a discussion on the diff Aug 15, 2018
    app/models/micropost.rb 0 → 100644
    1 class Micropost < ApplicationRecord
    2 belongs_to :user
    3 default_scope -> { order("created_at DESC").includes(:user) }
    • Ba Toi Dang @toidb commented Aug 15, 2018
      Master

      @phuctm please use symbol if you can

      order(created_at: :desc).includes(:user)

      please check others.

      @phuctm please use symbol if you can ``` order(created_at: :desc).includes(:user) ``` please check others.
    Please register or sign in to reply
  • Ba Toi Dang @toidb

    mentioned in commit a8aa1d03

    Aug 15, 2018

    mentioned in commit a8aa1d03

    mentioned in commit a8aa1d033d794cb9c56ad541c3c63403031255d8
    Toggle commit list
  • Ba Toi Dang @toidb

    merged

    Aug 15, 2018

    merged

    merged
    Toggle commit list
  • Write
  • Preview
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment
Assignee
No assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
2
2 participants
Reference: phuctm/ThaiMinhPhuc_training!15
×

Revert this merge request

Switch branch
Cancel
A new branch will be created in your fork and a new merge request will be started.
×

Cherry-pick this merge request

Switch branch
Cancel
A new branch will be created in your fork and a new merge request will be started.