Rymercyble

Rymercyble

Member Since 2 Years Ago

Experience Points
8,500
Total
Experience

1,500 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
71
Lessons
Completed
Best Reply Awards
0
Best Reply
Awards
  • start-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-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-token Created with Sketch.

    Subscriber

    Earned if you are a paying Laracasts subscriber.

  • lifer-token Created with Sketch.

    Lifer

    Earned if you have a lifetime subscription to Laracasts.

  • lara-evanghelist 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
8,500 XP
Feb
16
5 days ago
Activity icon

Replied to Eloquent Vs. Custom Query

it depends query to query - eloquent builds query in some way but in terms of efficiency sometimes is join better sometimes is subquery better and maybe they found that their queries built by eloquent would have opposite one what i think they didn't maybe they just thinks thats the case this is up to you to ask them

but i have to say eloquent is completely fine unless their db got higher millions of rows

Feb
13
1 week ago
Activity icon

Replied to Laravel 6 Eloquent And Postgresql

for future readers - in config\database.php define connection for each schema and then use proper connection in model

Activity icon

Started a new Conversation Laravel 6 Eloquent And Postgresql

Anybody knows about using eloquent with postgresql db ? documentation says laravel supports postgresql but i can't find any examples of usage especialy with multiple schemas

Feb
09
1 week ago
Activity icon

Replied to Laravel Muliple Submit In One Form

first of all this will cause dom error of duplicate id

if you for some reason need to get all 3 values then do as name action[]

Feb
08
1 week ago
Activity icon

Replied to Undefined Type 'App\AccountData

can you also show AccountData file ?

Feb
07
2 weeks ago
Activity icon

Replied to Controller

are you sure about syntax inside ->with() method ? there should be names of relation definitions inside your model

Activity icon

Replied to Controller

which method got this problem ?

Oct
08
4 months ago
Activity icon

Replied to Ordering By Two Numbers

well that was so easy i would never think it will be

Activity icon

Started a new Conversation Ordering By Two Numbers

hello, i'm trying to get data from db and order them by two columns group and position with

->orderBy('group')
->orderBy('position')

it returns order 1-1, 2-1, 1-2, 2-2 etc but i need 1-1, 1-2, 2-1, 2-2 is there a way how to do this ?

Aug
19
6 months ago
Activity icon

Replied to SQLSTATE[23000]: Integrity Constraint Violation: 1048 Column 'c_id' Cannot Be Null (SQL: Insert Into `states` (`c_id`, `s_name`, `updated_at`, `created_at`) Values (?, Nm, 2019-08-19 09:15:18, 2019-08-19 09:15:18))

c_id is null because you are missing value of your country select

<option value ="">

also naming is wrong your option menu got name country and state what is key to access data passed from this input but you are trying to access it via s_name

Activity icon

Started a new Conversation Retrieve Data Related To Related Table On Model Query

hello, i have got tables articles, files and uploads

my current query

ArticleNew::where('article_id', 2931)
            ->with([
                'files' => function($query){
                    $query->select('url', 'filename', 'mimetype', 'db_files_new.file_id')
                        ->orderBy('file_id');
                },
                'uploads' => function($query){
                    $query->where('thumbnail_id', '!=', 0)
                        ->select('db_uploads_new.file_id', 'thumbnail_id');
                },
                'category',
                'relations',
            ])->select('article_id', 'lang_id', 'url', 'author_id', 'created_on', 'title', 'description', 'content')
            ->get();

it returns article itself and related files (images/videos) but if it is video then it got thumbnail paired via uploads table but this returns only thumbnail_id from uploads table and i also need to get data from files table for that thumbnail_id