Tags

21 videos are tagged with rails

777 magrails2011 faster rails tests thumb 0003 thumb
Rating: Everyone
Viewed 834 times
Recorded at: October 14, 2011
Date Posted: December 23, 2011

896 railsconf2012 zero downtime deploys for rails apps thumb 0002 thumb
Rating: Everyone
Viewed 4,917 times
Recorded at: April 24, 2012
Date Posted: August 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.

Vlcsnap 2015 02 04 10h00m18s201 thumb
Rating: Everyone
Viewed 388 times
Recorded at: January 10, 2015
Date Posted:

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”.

755 rubymidwest2011 test your legacy rails code thumb 0003 thumb
Rating: Everyone
Viewed 2,515 times
Recorded at: November 4, 2011
Date Posted: January 4, 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

0 thumb
Rating: Everyone
Viewed 14,979 times
Recorded at: April 29, 2013
Date Posted:

Vlcsnap 2014 05 16 10h59m25s211 thumb
Rating: Everyone
Viewed 8,168 times
Recorded at: April 25, 2014
Date Posted:

  nickel city ruby 2013 smash the monolith  refactoring into soas by corey ehmke   youtube thumb
Rating: Everyone
Viewed 2,096 times
Recorded at: September 21, 2013
Date Posted: October 30, 2013

Jake scruggs thumb
Rating: Everyone
Viewed 555 times
Recorded at: September 11, 2010
Date Posted: December 17, 2012

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.

Vlcsnap 2015 05 07 10h56m13s171 thumb
Rating: Everyone
Viewed 1,655 times
Recorded at: April 23, 2015
Date Posted: May 7, 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.

Screenshot 2014 12 24 at 9.52.55 am thumb
Rating: Everyone
Viewed 185 times
Recorded at: August 2, 2014
Date Posted: December 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