19 videos are tagged with rails

10/14/2011, 08:10 PM
777 magrails2011 faster rails tests thumb 0003 thumb
Rating: Everyone
Viewed 814 times
Date Posted: 12/23/2011

04/24/2012, 11:00 PM
896 railsconf2012 zero downtime deploys for rails apps thumb 0002 thumb
Rating: Everyone
Viewed 4,917 times
Date Posted: 08/20/2012

What does it take to deploy an application without any downtime?

More than most Ruby developers would expect, turns out; what is aggravated by the lack of documentation and other resources on this topic.

In this talk we'll dive into both development practices (hot compatibility, database migrations, caching) and deployment setup (Heroku, Unicorn, HAProxy), covering everything you need to know in order to ship code without affecting a single customer.

01/10/2015, 10:00 AM
Vlcsnap 2015 02 04 10h00m18s201 thumb

ActiveRecord can't do it? Arel can! 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. Oh and did I mention, this is a fun talk, even for us, to “perform”.

11/04/2011, 08:45 PM
755 rubymidwest2011 test your legacy rails code thumb 0003 thumb
Rating: Everyone
Viewed 2,515 times
Date Posted: 01/04/2012

Everybody wants to do test-driven development, but switching to TDD or BDD on an existing project that doesn't have tests presents special challenges. Often, the current code is a tangled mess of dependencies that defeats the very concept of unit testing. Worse, if somebody has attempted TDD in the past, you might have a test suite that needs to be fixed before any new tests can be written.

Don't give up. Adding test-coverage and TDD to your application will make it easier.

This session will describe techniques that you can use to bootstrap a test-driven process into your project. You'll see how to use "black-box" techniques that don't depend on the structure of the code and "white-box" techniques that interact with the code more directly.

Topics covered will include:

* Using Cucumber to perform black-box testing.
* Using RSpec to perform white-box testing

04/25/2014, 10:20 PM
Vlcsnap 2014 05 16 10h59m25s211 thumb
Rating: Everyone
Viewed 8,126 times
Date Posted:

09/21/2013, 05:00 PM
  nickel city ruby 2013 smash the monolith  refactoring into soas by corey ehmke   youtube thumb

09/11/2010, 04:00 PM
Jake scruggs thumb

Metric_fu makes it easy to generate reports that measure code quality. Once you’ve created the reports, what do you do next? You know your code could be better. Now what? As lead developer of metric_fu, Jake Scruggs is in a great position to make recommendations about the best ways to leverage the tool.

04/23/2015, 01:50 PM
Vlcsnap 2015 05 07 10h56m13s171 thumb
Rating: Everyone
Viewed 1,655 times
Date Posted: 05/07/2015

React is the best way to bring interactive UIs to your Rails apps. But using React.js on Rails can be hard. NPM libraries are difficult to include, JSX seems nonsensical, and “can we still use CoffeeScript?”

There’s not one obvious path for working with React.js on Rails. In this talk, we’ll review the sordid past of Rails and JavaScript, explore the complementarity of React and Rails, and navigate the woes of integrating with NPM. We’ll discover why React is a natural fit for Rails today and how to make Rails love React in the future.

08/02/2014, 04:00 PM
Screenshot 2014 12 24 at 9.52.55 am thumb
Rating: Everyone
Viewed 185 times
Date Posted: 12/24/2014

Have you ever had to wait 30 seconds for your front end app to load in development?

You must be using the Rails Asset Pipeline.

This talk will show you a better way.

Decoupling your Front End application from your Rails API gives you the best of both the Javascript and the Rails world. It will accelerate your development and help you write better, more maintainable code.

Forget About: * JS Gem dependencies * Asset Pipeline manifests * Getting distracted during page refreshes

Learn About: * Cross Origin Requests * API Authentication without sessions (OAuth 2.0?) * JavaScript dependencies management * Javascript build tools * Source Maps * Live reload