Player FM - Internet Radio Done Right
16 subscribers
Checked 10d ago
추가했습니다 nine 년 전
Chris Oliver에서 제공하는 콘텐츠입니다. 에피소드, 그래픽, 팟캐스트 설명을 포함한 모든 팟캐스트 콘텐츠는 Chris Oliver 또는 해당 팟캐스트 플랫폼 파트너가 직접 업로드하고 제공합니다. 누군가가 귀하의 허락 없이 귀하의 저작물을 사용하고 있다고 생각되는 경우 여기에 설명된 절차를 따르실 수 있습니다 https://ko.player.fm/legal.
Player FM -팟 캐스트 앱
Player FM 앱으로 오프라인으로 전환하세요!
Player FM 앱으로 오프라인으로 전환하세요!
How to use Enumerable with Ruby Classes
Manage episode 486430339 series 1128630
Chris Oliver에서 제공하는 콘텐츠입니다. 에피소드, 그래픽, 팟캐스트 설명을 포함한 모든 팟캐스트 콘텐츠는 Chris Oliver 또는 해당 팟캐스트 플랫폼 파트너가 직접 업로드하고 제공합니다. 누군가가 귀하의 허락 없이 귀하의 저작물을 사용하고 있다고 생각되는 경우 여기에 설명된 절차를 따르실 수 있습니다 https://ko.player.fm/legal.
Enumerable provides a suite of sorting, filtering, iterating functionality to any collection class in Ruby. It's easy to implement and use, so let's see how to use it.
…
continue reading
385 에피소드
Manage episode 486430339 series 1128630
Chris Oliver에서 제공하는 콘텐츠입니다. 에피소드, 그래픽, 팟캐스트 설명을 포함한 모든 팟캐스트 콘텐츠는 Chris Oliver 또는 해당 팟캐스트 플랫폼 파트너가 직접 업로드하고 제공합니다. 누군가가 귀하의 허락 없이 귀하의 저작물을 사용하고 있다고 생각되는 경우 여기에 설명된 절차를 따르실 수 있습니다 https://ko.player.fm/legal.
Enumerable provides a suite of sorting, filtering, iterating functionality to any collection class in Ruby. It's easy to implement and use, so let's see how to use it.
…
continue reading
385 에피소드
모든 에피소드
×G
GoRails Screencasts

The Rails Authentication generator is getting new test helpers. We'll take a look at how to use them with integration tests and how to extend them to work with system tests too.
Rails now ships the Trix editor as a separate gem (action_text-trix) instead of being included in ActionText. This allows for separate releases independently of Rails.
G
GoRails Screencasts

Enumerable provides a suite of sorting, filtering, iterating functionality to any collection class in Ruby. It's easy to implement and use, so let's see how to use it.
G
GoRails Screencasts

To provide clean integrations with Rails plugins, we can use lazy load hooks to add callbacks for when classes are loaded.
G
GoRails Screencasts

Learn how to use the CodeMirror editor in your browser using Importmaps.
Rails 8 introduces a new expect method for permitting parameters that fixes a few of the issues with require and permit. Let's take a look!
Ruby 3.4 added 'it' to reference a block parameter with no variable name. Let's check it out!
Hotwire Spark is a new live reloading tool for Hotwire applications that uses morphing to update the page smoothly.
G
GoRails Screencasts

Black Friday is a popular shopping holiday every year. In this lesson, we'll build a Ruby gem to help automate our Black Friday sales each year.
Import maps are great, but how do they work? In this lesson, we'll demystify import maps and see how they integrate with Rails' asset pipeline.
G
GoRails Screencasts

Rails 8 now ships with multiple databases by default. In this lesson, we'll learn how the configuration works and how to deploy to production with environment variables
G
GoRails Screencasts

1 How To Add Impersonation To Rails Authentication Generator 16:10
16:10
나중에 재생
나중에 재생
리스트
좋아요
좋아요16:10
The Rails authentication generator is an awesome new addition with Rails 8 so let's explore how we can customize it to support user impersonation.
G
GoRails Screencasts

Rubocop Rails Omakase is just a starting place and provides a handful of rules.
G
GoRails Screencasts

Rails 7.2 now warns if any test runs without assertions. It helps make tests that may raise errors more explicit and less prone to mistakes.
G
GoRails Screencasts

1 How to use Omakase Rubocop Linter/Formatter Rules for Rails 18:51
18:51
나중에 재생
나중에 재생
리스트
좋아요
좋아요18:51
Formatting Ruby code can be a point of contention because the language is so flexible, but it
G
GoRails Screencasts

1 Defer Job Enqueues After Transaction Commit in Rails 7.2 17:14
17:14
나중에 재생
나중에 재생
리스트
좋아요
좋아요17:14
Enqueuing jobs inside of a database transaction is a common mistake that's now handled for you automatically in Rails 7.2
G
GoRails Screencasts

The new browser guard in Rails 7.2 allows you to gate access to your application if a user is not using a modern browser.
G
GoRails Screencasts

Installing dependencies to develop and run your Rails applications locally can be a pain.
G
GoRails Screencasts

Rails 7.2 introduced a new rate limit feature that uses the Rails cache for preventing abuse of routes in your applications.
G
GoRails Screencasts

Honeybadger's new Insights feature is awesome but required manually editing the yaml file to enable. Let's make a pull request to automate this.
G
GoRails Screencasts

In this lesson, we'll dive into some code to add timeouts for an issue with net-ssh with the help of Mike Perham
Sometimes you need user input to be restricted to a certain range or limited like "greater than zero". While you can do this with conditionals, there are some useful tricks to do this better in Ruby.
Rubygems.org released a new feature called Trusted Publishing which allows you to release gems directly from GitHub Actions without requiring 2FA or long-lived API tokens. Let's see how it works!
Sometimes you write code to get a feature working and stop there. With a little refactoring, you can extract local variables into methods that make testing and extending easier.
G
GoRails Screencasts

In this episode, we will learn about handling one-time payments with the Pay gem and Stripe embedded checkout. This is a great approach for non-recurring payments and can be implemented very quickly.
In this video, you'll learn about a feature of IRB, which is the ability to change context into an object.
Ever wondered how Rails controllers get their functionality? Let's see how we can add translation support to Rails API controllers by looking at the Rails source
Adam McCrea walks through using Phlex to build components for views in your Rails applications. Phlex is a Ruby gem for building fast object-oriented HTML and SVG components using Ruby constructs: methods, keyword arguments and blocks.
G
GoRails Screencasts

Mission Control Jobs is a UI for ActiveJob in Rails. It was announced at Rails World 2023 and just got released. It currently supports SolidQueue and Resque with more queue adapter support in the future.
G
GoRails Screencasts

1 Single Table Inheritance (STI) with ActiveRecord in Rails 13:24
13:24
나중에 재생
나중에 재생
리스트
좋아요
좋아요13:24
Have models that store the same data but need different functionality? Rails provides Single Table Inheritance in ActiveRecord to solve this problem.
플레이어 FM에 오신것을 환영합니다!
플레이어 FM은 웹에서 고품질 팟캐스트를 검색하여 지금 바로 즐길 수 있도록 합니다. 최고의 팟캐스트 앱이며 Android, iPhone 및 웹에서도 작동합니다. 장치 간 구독 동기화를 위해 가입하세요.