Tags

21 videos are tagged with rails

Vlcsnap 2015 05 01 10h22m46s207 thumb
Rating: Everyone
Viewed 1,296 times
Recorded at: April 21, 2015
Date Posted: May 1, 2015

Getting started with testing Rails applications can be a frought process. There are a range of different test types that one can write. It's often not clear which type one wants. Without care your tests can begin testing the same behaviour. This is problematic.

In this talk we'll cover the most common types of test you'll encounter in your Rails applications: feature, controller and model. We'll also talk about ways you can design your tests to ensure your suite is robust to changes in your system. If you'd love to learn more about RSpec, Rails, and testing this talk will be great for you.

Session10 preview thumb
Rating: Everyone
Viewed 766 times
Recorded at: March 17, 2007
Date Posted: October 29, 2012

Vlcsnap 2012 11 11 03h05m25s153 thumb
Rating: Everyone
Viewed 565 times
Recorded at: August 11, 2007
Date Posted:

Capture thumb
Rating: Everyone
Viewed 490 times
Recorded at: April 23, 2015
Date Posted: May 13, 2015

So you are building an app that has a ton of forms each with tons of fields. Your heart sinks as you think of writing and managing all those models, migrations and associations. PostgreSQL JSON column and ActiveRecord::Store to the rescue! This talk covers a way to wrap these Rails 4 features to simplify the building of extensive hierarchical data models. You will learn to expressively declare schema-less attributes on your model that act much like “real" columns, meaning they are typecast, validated, query able, embeddable, and behave with Rails form builders.

Vlcsnap 2015 05 13 10h30m20s246 thumb
Rating: Everyone
Viewed 972 times
Recorded at: April 23, 2015
Date Posted: May 13, 2015

Running tasks outside the request-response loop is a must in modern web apps.

ActiveJob is a great addition to Rails (in 4.2) providing a standard interface to various asynchronous gems (Delayed_Job/Sidekiq etc). Has it also ushered in something else? A way to do 'Service Objects' the 'Rails Way'?

Capture thumb
Rating: Everyone
Viewed 546 times
Recorded at: April 21, 2015
Date Posted: May 21, 2015

Managing your infrastructure with configuration management tools like Chef melds the practices of development and operations together. This workshop will focus on a development practice - Test Driven Development - and how that method can be applied to managing your Rails infrastructure and deployments. You will learn how to: Analyze your application and define your infrastructure needs (databases, load balancers, etc.), define unique infrastructure requirements for Rails applications (i.e. asset pipeline), capture your requirements in tests using Test Kitchen, ServerSpec, and other frameworks

Vlcsnap 2015 04 30 11h13m44s135 thumb
Rating: Everyone
Viewed 1,878 times
Recorded at: April 21, 2015
Date Posted: April 30, 2015

Like most programmers I am lazy. I don't want to do something by hand if I can automate it. I also think DevOps can be dreadfully dull. Luckily there are now tools that support lazy DevOps. I'll demonstrate how using Docker containers and Kubernetes allows you to be lazy and get back to building cool features (or watching cat videos). I'll go over some of the pros and cons to the "lazy" way and I'll show how these tools can be used by both simple and complex apps.

Vipul amler thumb
Rating: Everyone
Viewed 1,502 times
Recorded at: June 26, 2014
Date Posted: July 21, 2014

Active Record is awesome. But how does ActiveRecord handle generating complex SQL queries? Under the hood it's handled by Arel. Most of the time, Rails developers don't have to know about how Arel works.

But sometimes Active Record can't satisfy our needs. Also Arel has many strengths not exposed through Active Record.

Let's experiment with Arel directly and wield great SQL power in database agnostic way.

Capture thumb
Rating: Everyone
Viewed 0 times
Recorded at: May 5, 2016
Date Posted: May 25, 2016

Rails is the ideal framework for creating software to run successful new businesses.

Capture thumb
Rating: Everyone
Viewed 139 times
Recorded at: April 26, 2017
Date Posted: May 19, 2017

Many seemingly simple "real-world" things end up being much more complicated than anticipated, especially if it's a developer's first time dealing with that particular thing. Classic examples include money and currency, time, addresses, human names, and so on. We will survey a number of these common areas and the state of best practices, or lack thereof, for handling them in Rails.