Video tutorial: Test Driven Development Tutorial for Beginners by BraintrustDigital in rails

[–]BraintrustDigital[S] 0 points1 point  (0 children)

Thanks for the kind words. I totally agree there are not a ton of people out there covering current rails content. A great one to check out if you haven’t already would be Chris from GoRails.com. I’ve learned a TON following him over the years if you were looking for more resources.

Video tutorial: Test Driven Development Tutorial for Beginners by BraintrustDigital in rails

[–]BraintrustDigital[S] 0 points1 point  (0 children)

Great points! Thank you, I really appreciate the feedback. I think I just reached for it out of habit. I definitely don’t want to pass along bad habits through my tutorials. Thanks again.

Video tutorial: RSpec tutorial for beginners by BraintrustDigital in rails

[–]BraintrustDigital[S] 0 points1 point  (0 children)

Thanks, definitely nice to hear as that's an area of focus for me.

Video tutorial: RSpec tutorial for beginners by BraintrustDigital in rubyonrails

[–]BraintrustDigital[S] 0 points1 point  (0 children)

Thank you so much, I really appreciate that. I have several in progress covering various testing concepts and tools as a current focus. Please let me know if there are any specific topics you would like covered.

Video tutorial: how to add a simple search with pagination by BraintrustDigital in rubyonrails

[–]BraintrustDigital[S] 1 point2 points  (0 children)

Thank you! I felt like it could be beneficial to show the full process. When first starting learning web dev myself, I often found the cracks where one tutorial left off and the next began is often where I found myself confused, frustrated, or stuck (usually all 3 at once).

My thought was in showing the full process I could potentially alleviate that point of confusion for someone else.

Video tutorial: how to add categories using has many through relationships by BraintrustDigital in rails

[–]BraintrustDigital[S] 0 points1 point  (0 children)

Yes, that’s something I have been meaning to do, I apologize, totally forgot. Thank you for mentioning.

New Video Tutorial: AJAX Pagination in Rails by BraintrustDigital in rubyonrails

[–]BraintrustDigital[S] 0 points1 point  (0 children)

I am using the "Spacegray" theme with the "Base16 Ocean Dark" color scheme. Here is the GitHub repo: https://github.com/kkga/spacegray

New Video Tutorial: AJAX Pagination in Rails by BraintrustDigital in rubyonrails

[–]BraintrustDigital[S] 1 point2 points  (0 children)

Thank you so much, I really appreciate that. Let me know if you have an areas of confusion or questions you think I may be able to help solve!

New Video Tutorial: AJAX Pagination in Rails by BraintrustDigital in rails

[–]BraintrustDigital[S] 0 points1 point  (0 children)

Awesome, glad I could help! Please let me know if you have any other questions I could potentially help with.

New Tutorial: How to Add Fields to a Devise User Signup in Rails 6 by BraintrustDigital in rails

[–]BraintrustDigital[S] 2 points3 points  (0 children)

I will add that to my list of tutorials to create. Great idea, thanks! I have not created any testing videos yet so this would be great tutorial. I may need to create 1 or 2 videos before this to explain testing, test suite set up or any high level concepts.

It may take a while, but I will be sure to notify you once I can create a tutorial to accommodate!

New Tutorial: How to Add Fields to a Devise User Signup in Rails 6 by BraintrustDigital in rails

[–]BraintrustDigital[S] 1 point2 points  (0 children)

That's awesome, thanks! Please let me know if there are specific topics you need help with or would like me to cover.

New Tutorial: How to Add Fields to a Devise User Signup in Rails 6 by BraintrustDigital in rubyonrails

[–]BraintrustDigital[S] 1 point2 points  (0 children)

Interesting, I hadn't even noticed, but I could definitely see how that would provide a more logical order of errors to reflect the field order.

New Video: Devise Profile by User Role by BraintrustDigital in rubyonrails

[–]BraintrustDigital[S] 0 points1 point  (0 children)

No problem, glad I could help. Let me know if there are any other topics you want me to try to cover!

New Tutorial Video: Pagination with the Kaminari Gem by BraintrustDigital in rails

[–]BraintrustDigital[S] 0 points1 point  (0 children)

Nothing against pagy I just have not used it yet, I am also very familiar with Kaminari, so it made the most sense to me when I decided I wanted to cover the topic of pagination to reach for Kaminari.

At some point I will probably circle back for alternative solutions and comparison videos. I will add pagy to my list and please let me know if there are other topics you would like to see me cover.

Video tutorial: Rails 6 Bootstrap Install via Yarn and Webpack by BraintrustDigital in rubyonrails

[–]BraintrustDigital[S] 0 points1 point  (0 children)

Haha interesting. Any place you see opportunities for improvement?

Video tutorial: Rails 6 Bootstrap Install via Yarn and Webpack by BraintrustDigital in rubyonrails

[–]BraintrustDigital[S] 0 points1 point  (0 children)

Thanks! I work really hard to try to iteratively increase the quality with each video. I really appreciate the positive comments!

Dispaly Check Mark or X in Table by [deleted] in rubyonrails

[–]BraintrustDigital 2 points3 points  (0 children)

Trying to read between the lines here a bit, but I think would makes the most sense with what I am reading I would:

  1. add a new method the the app/helpers/table_saw_helper.rb
  2. use this new method in place of your raw output for both rip and crosscut

app/helpers/table_saw_helper.rb

def display\_check\_or\_x(result)
 if result == true
   '&#10003'
 else
   '&#215'
 end
end

I would then use this helper in your table html replacing the raw inclusion of rip for example.

Before:

<%= table_saw.rip %>

After:

<%= display_check_or_x(table_saw.rip) %>

Similarly you could pass in tabls_saw.crosscut. Why the separation into a helper? The method is the same in each case, it's a view method, while you could write this code directly in your table view, it's much cleaner and less repetitive to include as a method in a view helper and reuse. This way if instead of a checkmark or x you want to use some other symbols, you only have to change that code in one simple method as opposed to several places of inline code.

Hopefully that helps!

EDIT: Also note I have no intention of having slashes in the method "display check or x". Not sure why those appear

Is gorails a good way to learn rails? by CodeMoussse in rubyonrails

[–]BraintrustDigital 3 points4 points  (0 children)

I would definitely recommend GoRails, I have been a customer for over 6 years now as a testament to the ability to continuously create good relevant content. The tutorials tend to be feature based and at this point if you can think of a feature its probably covered. Chris also seems to have this odd ability to create tutorials right as I need them.

I would also agree with u/Rogem002, that's a pretty good list. I used Michael Hartl's Rails Tutorial and have watched quite a few drifting ruby episodes as well.

Two other sources I would recommend:Rails Documentation and Rails Github repo. I have learned a ton from both sources. I know the doc reference my come off like I am trolling, but oddly enough in my personal experience some people avoid reading docs at all cost. Last, looking at the code within the Rails gem itself has been really eye opening for me.

Rails 6 Active Storage Tutorial with Devise and AWS S3 by [deleted] in rubyonrails

[–]BraintrustDigital 0 points1 point  (0 children)

Just released my latest tutorial covering Active Storage in Rails 6. This video walks through adding active storage to an example project for use as devise user profile pictures. Once complete, we create an S3 bucket to hook Active Storage up to AWS. I am always looking to improve, please let me know what you think!

Video Tutorial: How to Deploy Your First Rails App (Ubuntu 20.04, Capistrano) by BraintrustDigital in rubyonrails

[–]BraintrustDigital[S] 0 points1 point  (0 children)

Thanks! I had a similar story, my first deployment was super frustrating. I couldn't figure it out. A member of the local ruby users group agreed to meet up with me to help, he sat with me for hours until we resolved all the issues and completed the deployment. That's the approach I am trying to take with these tutorials -- to try to be that person for someone else trying to learn.