TylerW

TylerW

Member Since 2 Years Ago

Experience Points
6,630
Total
Experience

3,370 experience to go until the next level!

In case you were wondering, you earn Laracasts experience when you:

  • Complete a lesson — 100pts
  • Create a forum thread — 50pts
  • Reply to a thread — 10pts
  • Leave a reply that is liked — 50pts
  • Receive a "Best Reply" award — 500pts
Lessons Completed
47
Lessons
Completed
Best Reply Awards
0
Best Reply
Awards
  • start your engines Created with Sketch.

    Start Your Engines

    Earned once you have completed your first Laracasts lesson.

  • first-thousand Created with Sketch.

    First Thousand

    Earned once you have earned your first 1000 experience points.

  • 1-year Created with Sketch.

    One Year Member

    Earned when you have been with Laracasts for 1 year.

  • 2-years Created with Sketch.

    Two Year Member

    Earned when you have been with Laracasts for 2 years.

  • 3-years Created with Sketch.

    Three Year Member

    Earned when you have been with Laracasts for 3 years.

  • 4-years Created with Sketch.

    Four Year Member

    Earned when you have been with Laracasts for 4 years.

  • 5-years Created with Sketch.

    Five Year Member

    Earned when you have been with Laracasts for 5 years.

  • school-in-session Created with Sketch.

    School In Session

    Earned when at least one Laracasts series has been fully completed.

  • welcome-newcomer Created with Sketch.

    Welcome To The Community

    Earned after your first post on the Laracasts forum.

  • full-time-student Created with Sketch.

    Full Time Learner

    Earned once 100 Laracasts lessons have been completed.

  • pay-it-forward Created with Sketch.

    Pay It Forward

    Earned once you receive your first "Best Reply" award on the Laracasts forum.

  • subscriber Created with Sketch.

    Subscriber

    Earned if you are a paying Laracasts subscriber.

  • lifer Created with Sketch.

    Lifer

    Earned if you have a lifetime subscription to Laracasts.

  • evangelist Created with Sketch.

    Laracasts Evangelist

    Earned if you share a link to Laracasts on social media. Please email [email protected] with your username and post URL to be awarded this badge.

  • chatty-cathy Created with Sketch.

    Chatty Cathy

    Earned once you have achieved 500 forum replies.

  • lara-veteran Created with Sketch.

    Laracasts Veteran

    Earned once your experience points passes 100,000.

  • 10k-strong Created with Sketch.

    Ten Thousand Strong

    Earned once your experience points hits 10,000.

  • lara-master Created with Sketch.

    Laracasts Master

    Earned once 1000 Laracasts lessons have been completed.

  • laracasts-tutor Created with Sketch.

    Laracasts Tutor

    Earned once your "Best Reply" award count is 100 or more.

  • laracasts-sensei Created with Sketch.

    Laracasts Sensei

    Earned once your experience points passes 1 million.

  • top-50 Created with Sketch.

    Top 50

    Earned once your experience points ranks in the top 50 of all Laracasts users.

Level 2
6,630 XP
Apr
03
1 month ago
Activity icon

Started a new Conversation Password Reset Not Actually Changing Password?

I am using the default php artisan make:auth scaffolding in an application. When I go to reset password, I enter my email and it sends me an email. I click the link inside of the email, and it brings me to the reset page. I enter my email and password/password confirmation and submit, and it redirects me... except the password never changes. It creates the password_resets table entry and doesn't throw any errors, but it never actually changes the password. Any idea what would cause this or where I should look?

Dec
02
5 months ago
Activity icon

Started a new Conversation Eloquent Query Just Not Working?

I'm totally dumbfounded by this... I have a table with two columns, user_action_id and correct_action_id. I just want to return all rows where user_action_id is EQUAL to correct_action_id.

Why does this query not work:

$correctQuestions = \App\Question::where('quiz_id', \Auth::user()->active_quiz_id)->where('user_action_id', 'correct_action_id')->get();
 return $correctQuestions;

Take a look at the response below. You can clearly see that it is returning rows where correct_action_id IS NOT EQUAL to user_action_id, despite specifically requesting they be equal.

[ 
   { 
      "id":1596,
      "quiz_id":63,
      "sim_1_id":346,
      "sim_2_id":394,
      "hand":"Kh6h3h7c",
      "result":null,
      "created_at":"2019-12-02 20:06:15",
      "updated_at":"2019-12-02 20:06:18",
      "correct_action_id":0,
      "user_action_id":0
   },
   { 
      "id":1597,
      "quiz_id":63,
      "sim_1_id":755,
      "sim_2_id":751,
      "hand":"Qc9c8s6s",
      "result":null,
      "created_at":"2019-12-02 20:06:15",
      "updated_at":"2019-12-02 20:06:56",
      "correct_action_id":9,
      "user_action_id":0
   },
   { 
      "id":1598,
      "quiz_id":63,
      "sim_1_id":973,
      "sim_2_id":971,
      "hand":"Kd9h8d7h",
      "result":null,
      "created_at":"2019-12-02 20:06:15",
      "updated_at":"2019-12-02 20:07:57",
      "correct_action_id":10,
      "user_action_id":0
   },
   { 
      "id":1600,
      "quiz_id":63,
      "sim_1_id":576,
      "sim_2_id":574,
      "hand":"AdJcJdTd",
      "result":null,
      "created_at":"2019-12-02 20:06:15",
      "updated_at":"2019-12-02 20:15:19",
      "correct_action_id":0,
      "user_action_id":0
   },
   { 
      "id":1601,
      "quiz_id":63,
      "sim_1_id":347,
      "sim_2_id":350,
      "hand":"5s4s6d3d",
      "result":null,
      "created_at":"2019-12-02 20:06:15",
      "updated_at":"2019-12-02 20:15:28",
      "correct_action_id":3,
      "user_action_id":0
   },
   { 
      "id":1603,
      "quiz_id":63,
      "sim_1_id":565,
      "sim_2_id":581,
      "hand":"5s4sQdTd",
      "result":null,
      "created_at":"2019-12-02 20:06:15",
      "updated_at":"2019-12-02 20:15:44",
      "correct_action_id":0,
      "user_action_id":0
   },
   { 
      "id":1604,
      "quiz_id":63,
      "sim_1_id":386,
      "sim_2_id":400,
      "hand":"TdQhTc6c",
      "result":null,
      "created_at":"2019-12-02 20:06:15",
      "updated_at":"2019-12-02 20:15:45",
      "correct_action_id":0,
      "user_action_id":0
   },
   { 
      "id":1606,
      "quiz_id":63,
      "sim_1_id":965,
      "sim_2_id":969,
      "hand":"AsJhTcTh",
      "result":null,
      "created_at":"2019-12-02 20:06:15",
      "updated_at":"2019-12-02 20:16:43",
      "correct_action_id":0,
      "user_action_id":0
   },
   { 
      "id":1607,
      "quiz_id":63,
      "sim_1_id":757,
      "sim_2_id":null,
      "hand":"Ts4d5h6c",
      "result":null,
      "created_at":"2019-12-02 20:06:15",
      "updated_at":"2019-12-02 20:17:19",
      "correct_action_id":0,
      "user_action_id":0
   },
   { 
      "id":1608,
      "quiz_id":63,
      "sim_1_id":754,
      "sim_2_id":747,
      "hand":"2dAhJh2h",
      "result":null,
      "created_at":"2019-12-02 20:06:16",
      "updated_at":"2019-12-02 20:18:02",
      "correct_action_id":0,
      "user_action_id":0
   },
   { 
      "id":1610,
      "quiz_id":63,
      "sim_1_id":934,
      "sim_2_id":933,
      "hand":"AcKsQd3d",
      "result":null,
      "created_at":"2019-12-02 20:06:16",
      "updated_at":"2019-12-02 20:18:08",
      "correct_action_id":0,
      "user_action_id":0
   },
   { 
      "id":1612,
      "quiz_id":63,
      "sim_1_id":974,
      "sim_2_id":972,
      "hand":"AcAh9s2h",
      "result":null,
      "created_at":"2019-12-02 20:06:16",
      "updated_at":"2019-12-02 20:19:40",
      "correct_action_id":11,
      "user_action_id":0
   },
   { 
      "id":1613,
      "quiz_id":63,
      "sim_1_id":986,
      "sim_2_id":981,
      "hand":"AcAsKd5s",
      "result":null,
      "created_at":"2019-12-02 20:06:16",
      "updated_at":"2019-12-02 20:20:17",
      "correct_action_id":11,
      "user_action_id":0
   }
]